diff options
author | crupest <crupest@outlook.com> | 2022-12-23 16:51:25 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-12-23 16:51:25 +0800 |
commit | 49edcf00c2ef5d59a7a4d26277594e7cc92929de (patch) | |
tree | cc337bed16983320779e339b51c2ff15cce6931f /docker/crupest-nginx/sites/www/vite.config.js | |
parent | 564b3d70b18afb25a792125548a37070b66c3a60 (diff) | |
download | crupest-49edcf00c2ef5d59a7a4d26277594e7cc92929de.tar.gz crupest-49edcf00c2ef5d59a7a4d26277594e7cc92929de.tar.bz2 crupest-49edcf00c2ef5d59a7a4d26277594e7cc92929de.zip |
Develop secret api. v62
Diffstat (limited to 'docker/crupest-nginx/sites/www/vite.config.js')
-rw-r--r-- | docker/crupest-nginx/sites/www/vite.config.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docker/crupest-nginx/sites/www/vite.config.js b/docker/crupest-nginx/sites/www/vite.config.js index f7f6c8a..a30c7ea 100644 --- a/docker/crupest-nginx/sites/www/vite.config.js +++ b/docker/crupest-nginx/sites/www/vite.config.js @@ -6,5 +6,11 @@ export default { server: { port: 6123, strictPort: true, + proxy: { + "/api": { + target: "http://localhost:5188", + changeOrigin: true, + }, + }, }, }; |