0
0
Fork 0

Make theme switching work properly when built for production

This commit is contained in:
Oliver-Akins 2021-04-01 01:03:21 -06:00
parent d3e562b267
commit 0bcfa05b6c
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@
<script>
var default_theme = `dark`
var theme = localStorage.getItem(`tl-theme`) || default_theme;
document.getElementById(`theme`).href = '/static/css/theme/' + theme + '.css';
document.getElementById(`theme`).href = `static/css/theme/` + theme + `.css`;
</script>
</head>
<body>