upda/server/web/public/conf/runtime-config.js
Varakh 49b30aaf86
Some checks failed
/ build (pull_request) Failing after 1m41s
feat(embedded_ui): fully integrate UI into GoLang binary
2024-10-24 22:52:41 +02: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
});