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

Next.js appDir #7

Open
r34son opened this issue Oct 22, 2023 · 4 comments
Open

Next.js appDir #7

r34son opened this issue Oct 22, 2023 · 4 comments

Comments

@r34son
Copy link

r34son commented Oct 22, 2023

Hi! Can i use your package with Next.js appDir?

@r34son
Copy link
Author

r34son commented Oct 22, 2023

@alvyynm
Copy link

alvyynm commented Jan 23, 2024

Hi @r34son, did you find a solid solution for setting strict CSP in Nextjs's app router? I've stumbled across a dedicated documentation page and it's nothing short of magic. Link below:

https://nextjs.org/docs/app/building-your-application/configuring/content-security-policy

@r34son
Copy link
Author

r34son commented Jan 23, 2024

Hi, you can look at my solution here https://github.com/r34son/profile/blob/master/src/middleware.ts

cc @alvyynm

@alvyynm
Copy link

alvyynm commented Jan 24, 2024

Thank you @r34son

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

No branches or pull requests

2 participants