Commit 0f9e029b authored by Egor Kremnev's avatar Egor Kremnev

add api host from environment

parent e3672468
......@@ -2,7 +2,7 @@ const isTest = process.env.REACT_APP_NODE_ENV === 'test';
let host = "http://localhost:" + (isTest ? 8010 : 8020);
if (process.env.REACT_APP_API_HOST_ENV) {
host = process.env.API_HOST_ENV;
host = process.env.REACT_APP_API_HOST_ENV;
}
export const apiUrl = host;
......
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