Auth critical bugfix

This commit is contained in:
Francisco Pessano
2022-04-25 20:33:25 -03:00
committed by GitHub
parent 379476da17
commit d5cc4d662e

View File

@@ -27,9 +27,9 @@ function Auth() {
let requestUrl
if (process.env.REACT_APP_ENV_MODE === "production") {
requestUrl = "http://localhost:5050/api/v1/auth"
} else {
requestUrl = "https://telegram-to-notion-backend.herokuapp.com/api/v1/auth"
} else {
requestUrl = "http://localhost:5050/api/v1/auth"
}
axios({
@@ -100,4 +100,4 @@ function Auth() {
)
}
export default Auth
export default Auth