mirror of
https://github.com/grafana/grafana.git
synced 2025-01-15 11:12:50 -06:00
c04bc805b5
* CDN: Initial poc support for serving assets over a CDN * Minor fix * added build path and test * fix lint error * Added edition to cdn path * Move master builds to a separate path * Added error handling for the url parsing, changed setting name, and added docs * Updated sample.ini * Some property renames * updated * Minor update to html * index template improvements * Update docs/sources/administration/configuration.md Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> * Update docs/sources/administration/configuration.md Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> * Added ContentDeliveryPrefix to Licence service * updated docs * Updated test mock Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
13 lines
281 B
TypeScript
13 lines
281 B
TypeScript
declare let __webpack_public_path__: string;
|
|
|
|
/**
|
|
* Check if we are hosting files on cdn and set webpack public path
|
|
*/
|
|
if ((window as any).public_cdn_path) {
|
|
__webpack_public_path__ = (window as any).public_cdn_path;
|
|
}
|
|
|
|
import app from './app';
|
|
app.initEchoSrv();
|
|
app.init();
|