-
Hello, I am trying to find a solution to protect a route (static) with HTTP Basic auth. Have you an idea ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey, |
Beta Was this translation helpful? Give feedback.
Hey,
Have you tried to protect the request to JSON as well? I mean when you go to a page via
next/link
it requests JSON for rendering and that JSON has the name of the page. You can try to add something like_next/.*/page.json$
wherepage
is the name of the protected page.