From 74cd37a7988a1b22b32765c745f5df330dc4f493 Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Mon, 11 May 2020 01:57:44 +0300 Subject: [PATCH] updated API URL for production environment --- webpack.config.prod.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.prod.js b/webpack.config.prod.js index df87705..22b8410 100644 --- a/webpack.config.prod.js +++ b/webpack.config.prod.js @@ -29,7 +29,7 @@ module.exports = { // This global makes sure React is built in prod mode. "process.env.NODE_ENV": JSON.stringify(process.env.NODE_ENV), "process.env.PUBLIC_URL": JSON.stringify(process.env.PUBLIC_URL), - "process.env.API_URL": JSON.stringify("http://toodle.ddns.net/rxc-api") + "process.env.API_URL": JSON.stringify("https://toodle.ddns.net/rxc-api") }), new HtmlWebpackPlugin({ template: "src/index.html",