37 lines
733 B
JavaScript
37 lines
733 B
JavaScript
import { defineConfig } from "@umijs/max";
|
|
|
|
import defaultConfig from './defaultConfig';
|
|
|
|
export default defineConfig({
|
|
antd: {
|
|
theme: {
|
|
|
|
},
|
|
},
|
|
access: {},
|
|
model: {},
|
|
initialState: {},
|
|
request: {},
|
|
layout: {
|
|
...defaultConfig
|
|
},
|
|
npmClient: "pnpm",
|
|
tailwindcss: {},
|
|
define: {
|
|
'process.env': {
|
|
// API_URL: "http://192.168.0.13:9502",
|
|
API_URL: "https://shopapi.houyi2023.cn",
|
|
// API_URL: "http://shopapi.houyi2023.cn",
|
|
WS_URL: "ws://lv.com",
|
|
STATIC_URL: "http://lv.com",
|
|
WEMAP_KEY: 'ZFDBZ-YUTWB-353UZ-NYKEY-JTVIZ-Q3F6X'
|
|
}
|
|
},
|
|
// proxy: {
|
|
// '/admin': {
|
|
// target: 'http://shopapi.houyi2023.cn',
|
|
// changeOrigin: true,
|
|
// },
|
|
// },
|
|
});
|