aboutsummaryrefslogtreecommitdiff
path: root/docker/crupest-nginx/sites/www/vite.config.js
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-12-23 16:51:25 +0800
committercrupest <crupest@outlook.com>2022-12-23 16:51:25 +0800
commit0ffeaaf82d0b8d3158e9d04cbe630498bdda2fe7 (patch)
treecc337bed16983320779e339b51c2ff15cce6931f /docker/crupest-nginx/sites/www/vite.config.js
parent4d8c1ed02fbe706d42f2364c34509216f71b8266 (diff)
downloadcrupest-0ffeaaf82d0b8d3158e9d04cbe630498bdda2fe7.tar.gz
crupest-0ffeaaf82d0b8d3158e9d04cbe630498bdda2fe7.tar.bz2
crupest-0ffeaaf82d0b8d3158e9d04cbe630498bdda2fe7.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.js6
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,
+ },
+ },
},
};