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";