diff options
author | 2019-10-18 20:53:41 +0200 | |
---|---|---|
committer | 2019-10-18 20:53:41 +0200 | |
commit | af506f40edb1c9c339cc86baf40baccf2dc6da62 (patch) | |
tree | d5efae2f9374ee11d645096208424d59812a9a58 /src/helpers | |
parent | Merge branch 'develop' into local-server (diff) | |
download | ferdium-app-af506f40edb1c9c339cc86baf40baccf2dc6da62.tar.gz ferdium-app-af506f40edb1c9c339cc86baf40baccf2dc6da62.tar.zst ferdium-app-af506f40edb1c9c339cc86baf40baccf2dc6da62.zip |
Develop local server feature
Diffstat (limited to 'src/helpers')
-rw-r--r-- | src/helpers/serverless-helpers.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/helpers/serverless-helpers.js b/src/helpers/serverless-helpers.js index 741bce7f9..01549e038 100644 --- a/src/helpers/serverless-helpers.js +++ b/src/helpers/serverless-helpers.js | |||
@@ -1,9 +1,11 @@ | |||
1 | import { LOCAL_SERVER } from '../config'; | ||
2 | |||
1 | export default function useLocalServer(actions) { | 3 | export default function useLocalServer(actions) { |
2 | // Use local server for user | 4 | // Use local server for user |
3 | actions.settings.update({ | 5 | actions.settings.update({ |
4 | type: 'app', | 6 | type: 'app', |
5 | data: { | 7 | data: { |
6 | server: 'http://localhost:45569', | 8 | server: LOCAL_SERVER, |
7 | }, | 9 | }, |
8 | }); | 10 | }); |
9 | 11 | ||