Skip to content

Protected dynamic routes #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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

caseyalee
Copy link

Allows to use slug and id routes in PROTECTED_ROUTES (route-service-provider.js)

export const PROTECTED_ROUTES = ['/dashboard', '/profile', '/verify-email', '/programs', '/programs/[id]'];

Allows to use slug and id routes in PROTECTED_ROUTES (route-service-provider.js)

```
export const PROTECTED_ROUTES = ['/dashboard', '/profile', '/verify-email', '/programs', '/programs/[id]'];
```
@CODE-AXION
Copy link
Owner

CODE-AXION commented Apr 19, 2025

@caseyalee
thanks for the PR mate ! will review it and merge accordingly !

thanks for your time !

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

Successfully merging this pull request may close these issues.

2 participants