This commit is contained in:
haoouba 2021-02-03 21:29:07 +08:00
parent b20e5dfaed
commit 9416e1af31

View File

@ -3,8 +3,7 @@
if (localStorage.getItem('data-night')) document.querySelector("html").setAttribute("data-night", "night")
window.Joe = {
LIVE2D: '<?php $this->options->JLive2d() ?>',
// BASE_API: '<?php echo $this->options->rewrite == 0 ? '/index.php/joe/api' : '/joe/api' ?>',
BASE_API: '/index.php/joe/api',
BASE_API: '<?php echo $this->options->rewrite == 0 ? '/index.php/joe/api' : '/joe/api' ?>',
DYNAMIC_BACKGROUND: '<?php $this->options->JDynamic_Background() ?>',
WALLPAPER_BACKGROUND_PC: '<?php $this->options->JWallpaper_Background_PC() ?>',
IS_MOBILE: /windows phone|iphone|android/gi.test(window.navigator.userAgent),