star7th 6 years ago
parent
commit
bb239de4f5
1 changed files with 3 additions and 1 deletions
  1. 3 1
      web_src/config/index.js

+ 3 - 1
web_src/config/index.js

@@ -10,7 +10,9 @@ module.exports = {
     // Paths
     assetsSubDirectory: 'static',
     assetsPublicPath: '/',
-    proxyTable: {},
+    proxyTable: {
+        '/server/': 'http://127.0.0.1/showdoc/'
+    },
 
     // Various Dev Server settings
     host: 'localhost', // can be overwritten by process.env.HOST