mirror of https://github.com/grafana/grafana
FEMT: Call /bootdata and render grafana (#105176)
* 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 * codeownerspull/105311/head^2
parent
621414ea6f
commit
91d9cac157
@ -0,0 +1,7 @@ |
||||
// 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(); |
Loading…
Reference in new issue