chore: switch production domains to shumengya.top
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
# 生产构建:npm run build 时注入。静态站点域名 post.smyhub.com,API 走 post.api.smyhub.com
|
||||
VITE_API_URL=https://post.api.smyhub.com
|
||||
# 生产构建:npm run build 时注入。静态站点域名 post.shumengya.top,API 走 post.api.shumengya.top
|
||||
VITE_API_URL=https://post.api.shumengya.top
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
|
||||
// 生产:`.env.production` 中 VITE_API_URL=https://post.api.smyhub.com
|
||||
// 生产:`.env.production` 中 VITE_API_URL=https://post.api.shumengya.top
|
||||
// 开发:未设置时走相对路径 + server.proxy
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
|
||||
Reference in New Issue
Block a user