mirror of
https://github.com/palxiao/poster-design.git
synced 2025-07-15 16:02:19 +08:00
fix: config
This commit is contained in:
parent
0cba15dd48
commit
aac211eafa
20
src/config.ts
Normal file
20
src/config.ts
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
// const prefix = import.meta.env
|
||||||
|
const prefix = process.env
|
||||||
|
|
||||||
|
const isDev = prefix.NODE_ENV === 'development'
|
||||||
|
|
||||||
|
export default {
|
||||||
|
isDev,
|
||||||
|
BASE_URL: isDev ? '/' : './',
|
||||||
|
VERSION: '1.1.0',
|
||||||
|
APP_NAME: '迅排设计',
|
||||||
|
COPYRIGHT: 'ShawnPhang - Palxp.com',
|
||||||
|
// API_URL: isDev ? 'http://localhost:9998' : '${API}',
|
||||||
|
API_URL: 'https://app.palxp.com:8887',
|
||||||
|
SCREEN_URL: isDev ? 'http://localhost:7001' : '${SCREEN_URL}',
|
||||||
|
IMG_URL: 'https://store.palxp.com/',
|
||||||
|
// ICONFONT_URL: '//at.alicdn.com/t/font_3223711_74mlzj4jdue.css',
|
||||||
|
ICONFONT_URL: '//at.alicdn.com/t/font_2717063_ypy8vprc3b.css',
|
||||||
|
ICONFONT_EXTRA: '//at.alicdn.com/t/c/font_3228074_6qsac4kteu7.css',
|
||||||
|
QINIUYUN_PLUGIN: 'https://cdn.jsdelivr.net/npm/qiniu-js@2.5.5/dist/qiniu.min.js',
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user