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.

23 lines
464 B

1 month ago
1 month ago
1 month ago
1 month 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. // })
  7. export default defineConfig({
  8. plugins: [
  9. vue(),
  10. ],
  11. server: {
  12. proxy: {
  13. '/Api': {
  14. target: 'https://dbqb.nfdxy.net/devLotApi',
  15. // target: 'http://localhost:8080',
  16. changeOrigin: true,
  17. rewrite: (path) => path.replace(/^\/Api/, '')
  18. }
  19. }
  20. }
  21. })