Skip to content
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

Page Redirection hooks. #39

Open
Miyuki-L opened this issue Jan 16, 2025 · 0 comments
Open

Page Redirection hooks. #39

Miyuki-L opened this issue Jan 16, 2025 · 0 comments

Comments

@Miyuki-L
Copy link
Member

Miyuki-L commented Jan 16, 2025

https://github.com/TritonSE/PIA-Program-Manager/blob/ca894969e05f06276d992d8bbc825ea5e2d67178/frontend/src/hooks/redirect.tsx#L54
https://github.com/TritonSE/PAP-Inventory-Processing/blob/main/frontend/src/hooks/useRedirection.ts

additional routes may needed to be added to backend

Put under frontned/src/hooks

This will handle the redirection so only logged in users can see the content behind the login

Depends on #33 #9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant