mirror of
https://github.com/FranP-code/Open-Telegram-to-Notion-Website.git
synced 2025-10-13 00:42:53 +00:00
Auth critical bugfix
This commit is contained in:
committed by
GitHub
parent
379476da17
commit
d5cc4d662e
@@ -27,9 +27,9 @@ function Auth() {
|
|||||||
let requestUrl
|
let requestUrl
|
||||||
|
|
||||||
if (process.env.REACT_APP_ENV_MODE === "production") {
|
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"
|
requestUrl = "https://telegram-to-notion-backend.herokuapp.com/api/v1/auth"
|
||||||
|
} else {
|
||||||
|
requestUrl = "http://localhost:5050/api/v1/auth"
|
||||||
}
|
}
|
||||||
|
|
||||||
axios({
|
axios({
|
||||||
|
|||||||
Reference in New Issue
Block a user