mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-17 09:34:31 +08:00
支持非根目录部署
This commit is contained in:
+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