build(config): update API endpoint to production URL and remove dev proxy
All checks were successful
Admin CI / build-and-push-web (push) Successful in 1m52s

Changes the default API base URL from local development server (127.0.0.1:8080) to the production endpoint (bbs.littlelan.cn) and removes the Vite dev server proxy configuration, as the application now connects directly to the production API.
This commit is contained in:
lafay
2026-04-04 00:31:53 +08:00
parent dacad1587a
commit 740bfc76fa
3 changed files with 2 additions and 10 deletions

View File

@@ -10,12 +10,5 @@ export default defineConfig({
'@': path.resolve(__dirname, './src'),
},
},
server: {
proxy: {
'/api': {
target: 'http://127.0.0.1:8080',
changeOrigin: true,
},
},
},
server: {},
})