feat(front): 覆盖 front 并完善登录快传入口与中文文案
This commit is contained in:
@@ -5,7 +5,7 @@ import { defineConfig, loadEnv } from 'vite';
|
||||
|
||||
export default defineConfig(({ mode }) => {
|
||||
const env = loadEnv(mode, '.', '');
|
||||
const backendUrl = env.VITE_BACKEND_URL || 'http://localhost:8080';
|
||||
const backendUrl = env.VITE_BACKEND_URL || 'http://127.0.0.1:8080';
|
||||
|
||||
return {
|
||||
plugins: [react(), tailwindcss()],
|
||||
|
||||
Reference in New Issue
Block a user