fix(deploy): serve production API over HTTP

This commit is contained in:
david
2026-07-31 16:54:57 +08:00
parent 8207d3a700
commit 7a1a7c2da6
10 changed files with 10 additions and 10 deletions

View File

@@ -32,7 +32,7 @@ export default defineConfig(({ command, mode }) => {
const env = loadEnv(mode, process.cwd(), '');
const apiBaseURL =
env.VITE_API_BASE_URL ||
`${isDev ? 'http://localhost:12426' : 'https://rest.heqiapp.com'}/heqi/delivery/v1`;
`${isDev ? 'http://localhost:12426' : 'http://rest.heqiapp.com'}/heqi/delivery/v1`;
const plugins: PluginOption[] = [
vue(),