mirror of
https://github.com/Studio-Saelix/sencho.git
synced 2026-07-27 20:29:10 +00:00
1e6367a147
The /envs endpoint now filters to only return env files that actually exist on disk, and absolute env_file paths from compose files (e.g. shared globals.env in a sibling directory) are no longer rejected. The inline theme-detection script is moved to an external file to comply with CSP.
11 lines
260 B
JavaScript
11 lines
260 B
JavaScript
(function () {
|
|
try {
|
|
var saved = localStorage.getItem('sencho-theme');
|
|
if (saved === 'light') {
|
|
document.documentElement.classList.remove('dark');
|
|
} else {
|
|
document.documentElement.classList.add('dark');
|
|
}
|
|
} catch (e) { }
|
|
})();
|