upda/server/web/public/conf/runtime-config.js
Varakh d0312a5853
All checks were successful
/ build (push) Successful in 5m30s
feat(embedded_ui): fully integrate UI into GoLang binary (#43)
Reviewed-on: #43
Co-authored-by: Varakh <varakh@varakh.de>
Co-committed-by: Varakh <varakh@varakh.de>
2024-10-25 14:12:35 +00:00

7 lines
188 B
JavaScript

// Note that Object.freeze is NOT recursive
const runtime_config = Object.freeze({});
Object.defineProperty(window, 'runtime_config', {
value: runtime_config,
writable: false
});