diff --git a/public/include.php b/public/include.php index 9700ae0..8b229a1 100644 --- a/public/include.php +++ b/public/include.php @@ -3,8 +3,7 @@ if (localStorage.getItem('data-night')) document.querySelector("html").setAttribute("data-night", "night") window.Joe = { LIVE2D: 'options->JLive2d() ?>', - // BASE_API: 'options->rewrite == 0 ? '/index.php/joe/api' : '/joe/api' ?>', - BASE_API: '/index.php/joe/api', + BASE_API: 'options->rewrite == 0 ? '/index.php/joe/api' : '/joe/api' ?>', DYNAMIC_BACKGROUND: 'options->JDynamic_Background() ?>', WALLPAPER_BACKGROUND_PC: 'options->JWallpaper_Background_PC() ?>', IS_MOBILE: /windows phone|iphone|android/gi.test(window.navigator.userAgent),