grafana/public/app/features/plugins/systemjsPlugins
Giuseppe Guerra 966bcd3545
Plugins: Fix plugins CDN not working when plugins are not in domain's root path (#63202)
* Plugins CDN: Add support for different CDN root path

* Plugins CDN: Make frontendsettings return the correct CDN base path

* Update comments

* Fix version detection

* Undo frontend changes

* Fix system.js asset path construction

* fix(plugins): translate all plugin css asset paths loaded via cdn

* refactor(plugins): rename extractPluginNameVersionFromUrl and add comments

* Fix typo in comment

Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>

* Hardcode CDN URL structure

/{id}/{version}/public/plugins/{id}/{assetPath} is not required anymore in the cdn url template config

---------

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2023-02-24 14:28:13 +01:00
..
pluginCacheBuster.test.ts Plugins: Allow loading panel plugins from a CDN (#59096) 2023-01-27 15:08:17 +01:00
pluginCacheBuster.ts Plugins: Allow loading panel plugins from a CDN (#59096) 2023-01-27 15:08:17 +01:00
pluginCDN.test.ts Plugins: Fix plugins CDN not working when plugins are not in domain's root path (#63202) 2023-02-24 14:28:13 +01:00
pluginCDN.ts Plugins: Fix plugins CDN not working when plugins are not in domain's root path (#63202) 2023-02-24 14:28:13 +01:00
pluginCSS.ts Plugins: Allow loading panel plugins from a CDN (#59096) 2023-01-27 15:08:17 +01:00
types.ts Plugins: Allow loading panel plugins from a CDN (#59096) 2023-01-27 15:08:17 +01:00