updated API URL for production environment

master
Tudor Stanciu 2020-05-11 01:57:44 +03:00
parent 3ba851ae41
commit 74cd37a798
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ module.exports = {
// This global makes sure React is built in prod mode. // This global makes sure React is built in prod mode.
"process.env.NODE_ENV": JSON.stringify(process.env.NODE_ENV), "process.env.NODE_ENV": JSON.stringify(process.env.NODE_ENV),
"process.env.PUBLIC_URL": JSON.stringify(process.env.PUBLIC_URL), "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({ new HtmlWebpackPlugin({
template: "src/index.html", template: "src/index.html",