diff --git a/ui/package.json b/ui/package.json index 1c84de1..0bd9412 100644 --- a/ui/package.json +++ b/ui/package.json @@ -3,6 +3,7 @@ "version": "0.2.0", "private": true, "homepage": ".", + "proxy": "http://localhost:80", "dependencies": { "@material-ui/core": "^4.4.3", "@material-ui/icons": "^4.4.3", diff --git a/ui/src/index.tsx b/ui/src/index.tsx index 536f2fc..b47f965 100644 --- a/ui/src/index.tsx +++ b/ui/src/index.tsx @@ -17,7 +17,7 @@ import {PluginStore} from './plugin/PluginStore'; import {registerReactions} from './reactions'; const defaultDevConfig = { - url: 'http://localhost:80/', + url: 'http://localhost:3000/', }; const {port, hostname, protocol, pathname} = window.location;