mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 09:45:36 +08:00
支持非根目录部署
This commit is contained in:
1 parent
1377fe31aa
commit
490bdc15f6
13 files changed
+88
-55
No files matched your search
+3
-1
@@ -1,6 +1,8 @@
|
||||
const baseUrl = window.__ENV__QlBaseUrl || '/';
|
||||
|
||||
export default {
|
||||
siteName: '青龙',
|
||||
apiPrefix: '/api/',
|
||||
apiPrefix: `${baseUrl}api/`,
|
||||
authKey: 'token',
|
||||
|
||||
/* Layout configuration, specify which layout to use for route. */
|
||||
|
||||
Reference in new issue
Block a user