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
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user