Files
admin/vite.config.ts
lafay 740bfc76fa
All checks were successful
Admin CI / build-and-push-web (push) Successful in 1m52s
build(config): update API endpoint to production URL and remove dev proxy
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.
2026-04-04 00:31:53 +08:00

15 lines
282 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import path from 'path'
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
},
},
server: {},
})