fix laravel leftover

This commit is contained in:
Thomas G 2023-04-19 17:37:57 +10:00 committed by GitHub
parent 01ac2c6b7e
commit 9c1af1e6e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ function getDarkMode() {
var currentTime = new Date().getHours();
if (6 >= currentTime || currentTime > 18) {
var li = document.createElement('link');
var href = "{{ asset('css/appdark.css?id='.Str::random(8)) }}";
var href = "https://archblox.com/css/appdark.css";
var rel = 'stylesheet';
li.setAttribute('href', href);
li.setAttribute('rel', rel);