star7th 7 gadi atpakaļ
vecāks
revīzija
bb239de4f5
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  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