Commit 43b4c2f6 authored by wanli's avatar wanli

feat: 更新配置文件

parent 0803ac51
...@@ -12,7 +12,7 @@ from views.monitor import DeviceMessageHandler, WatchHandler, NotifyHandler ...@@ -12,7 +12,7 @@ from views.monitor import DeviceMessageHandler, WatchHandler, NotifyHandler
app = create_app(config) app = create_app(config)
host, port = tuple(config.BIND.split(":")) host, port = tuple(config.BIND.split(":"))
print("===============>", host, port) # print("===============>", host, port)
@click.group() @click.group()
def cli(): def cli():
......
...@@ -32,7 +32,7 @@ module.exports = { ...@@ -32,7 +32,7 @@ module.exports = {
// change xxx-api/login => mock/login // change xxx-api/login => mock/login
// detail: https://cli.vuejs.org/config/#devserver-proxy // detail: https://cli.vuejs.org/config/#devserver-proxy
"/api/v1": { "/api/v1": {
target: "http://localhost:3001/", target: "http://localhost:3000/",
changeOrigin: true, changeOrigin: true,
pathRewrite: {}, pathRewrite: {},
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment