Implement a system for protected routes #11
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
refactor
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: pantheon/hestia#11
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We can utilize sveltes lifecycle hooks to intercept routing
https://svelte.dev/docs/svelte/lifecycle-hooks
/app/* - Fully protected
/api/* - Optionally protected when NODE_ENV = 'production'
do the sequence thing
https://svelte.dev/docs/kit/@sveltejs-kit-hooks