From 2241ec000789ca2b304956e03b3624d060d4c524 Mon Sep 17 00:00:00 2001 From: Jonasz Bigda Date: Thu, 8 Oct 2020 15:14:29 +0200 Subject: [PATCH] changed backend to azure --- src/actions/index.js | 3 +-- src/config.js | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/actions/index.js b/src/actions/index.js index 1ba4b02..b337407 100644 --- a/src/actions/index.js +++ b/src/actions/index.js @@ -1,8 +1,7 @@ import axios from "axios"; import * as toggles from "./toggles"; import { push } from "connected-react-router"; - -const backend = "http://localhost:4000/"; +import { backend } from "../config.js"; const autocomplete = (input) => { return { diff --git a/src/config.js b/src/config.js index c8f4712..e96d968 100644 --- a/src/config.js +++ b/src/config.js @@ -1 +1 @@ -export const backend = "http://localhost:4000"; +export const backend = "https://menui.azurewebsites.net";