-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[New] route for testing locally #341
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see the recommendation
response.redirect('/'); | ||
} catch { | ||
response.redirect('/'); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you wrap this around an if statement to check if the env file is saying "dev" not "prod"?
Im pretty dure we have a variable that defines that.
@@ -141,4 +141,4 @@ Route.get('/push', 'TokenController.push').as('push'); | |||
Route.get('/loginAD', 'UserController.loginAD').as('loginAD'); | |||
Route.get('/authAD', 'UserController.authAD').as('authAD'); | |||
Route.get('/key', 'UserController.key').as('key'); | |||
Route.get('/test/:id', 'UserController.test').as('test'); | |||
Route.get('/test/:id', 'UserController.test'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can wrap the route around the same condition aswell
No description provided.