You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
412 B

1 month ago
4 weeks ago
1 month ago
  1. import { defineConfig } from 'vite'
  2. import vue from '@vitejs/plugin-vue'
  3. // https://vite.dev/config/
  4. export default defineConfig({
  5. plugins: [vue()],
  6. server: {
  7. host: '0.0.0.0',
  8. port: 3000,
  9. proxy: {
  10. '/api': {
  11. target: 'https://dbqb.nfdxy.net',
  12. changeOrigin: true,
  13. secure: false,
  14. rewrite: (path) => path.replace(/^\/api/, '/devLotApi/api')
  15. }
  16. }
  17. }
  18. })