Skip to content
  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in

李宁 / Activity

Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • Activity
  • haMgr
  • web-admin
  • vite.config.ts
  •  李宁's avatar
    1 · dc5e5949
    李宁 committed Feb 02, 2026
    dc5e5949 Browse Files
vite.config.ts 409 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

// https://vite.dev/config/
export default defineConfig({
  base: './',
  plugins: [vue()],
  server: {
    allowedHosts: [
      "electrotactic-janine-cornily.ngrok-free.dev"
    ],

    proxy: {
      '/zhijian': {
        target: 'https://testznzl.lgyzpt.com',
        changeOrigin: true,
        secure: false
      }
    }
  }
})