初始化
This commit is contained in:
@@ -16,7 +16,7 @@ export default defineEventHandler((event) => {
|
||||
// 开发环境使用本地 9500 端口,生产环境使用配置的环境变量
|
||||
const appApiBase = isDevEnv
|
||||
? 'http://127.0.0.1:9500'
|
||||
: (config.public.appApiBase || 'https://websopy-api.websoft.top')
|
||||
: (config.public.appApiBase || 'https://cms-api.websoft.top')
|
||||
|
||||
const path = getRouterParam(event, 'path') || ''
|
||||
const search = getRequestURL(event).search
|
||||
|
||||
Reference in New Issue
Block a user