Skip to content

Commit

Permalink
feat: change something
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanyxh committed May 9, 2024
1 parent 7d8fed6 commit 084b8fb
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,20 +167,7 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
port: 3000,
strictPort: true,
cors: true,
proxy: {
'/api': {
target: 'http://8.222.131.201:8362',
changeOrigin: true,
ws: true,
rewrite: (path) => path.replace(/^\/api/, 'notes')
},
'/apache2': {
target: 'http://8.222.131.201:8364',
changeOrigin: true,
ws: true,
rewrite: (path) => path.replace(/^\/apache2/, 'notes')
}
}
proxy: {}
// https: {},
},
optimizeDeps: {
Expand Down

0 comments on commit 084b8fb

Please sign in to comment.