cc-backend/web/frontend/src/config.entrypoint.js
2024-11-27 10:50:11 +01:00

17 lines
396 B
JavaScript

import {} from './header.entrypoint.js'
import Config from './Config.root.svelte'
new Config({
target: document.getElementById('svelte-app'),
props: {
isAdmin: isAdmin,
isApi: isApi,
username: username,
ncontent: ncontent,
},
context: new Map([
['cc-config', clusterCockpitConfig],
['resampling', resampleConfig]
])
})