mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 02:52:16 +08:00

* rename /mtfe route to /femt to match project name * set correct navTree JSON property name * call GetWebAssets in the request handler to prevent stale assets during development * Call /bootdata and render grafana * set nonce on script * write csp header in index handler * write report-only csp as well * debug stuff * more debug logging * move importing app into a seperate, async-loaded module * Clean up comments * make /femt redirect to / in the frontend * remove console.log * remove stale commented code * call __grafana_load_failed if bootstrap fails * comment for __grafana_boot_data_promise * remove console.log * remove blank newline * codeowners
8 lines
207 B
TypeScript
8 lines
207 B
TypeScript
// See ./index.ts for why this is in a seperate file
|
|
|
|
// Trusted types must be initialised before the rest of the world is imported
|
|
import './core/trustedTypePolicies';
|
|
import app from './app';
|
|
|
|
app.init();
|