Are admin routes open in latest versions of Laravel? #243
Unanswered
AlexKomMsk
asked this question in
Q&A (Help)
Replies: 2 comments 1 reply
-
Hello @AlexKomMsk I am not a user of Ziggy package myself, but from a quick google search I found out that you can configure the "hidden" urls. https://github.com/tighten/ziggy#filtering-routes Cheers |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. I'm setting up a backpack admin in Laravel 9 with Inertia. When viewing the page code (in chrome browser), I see this:
const Ziggy = {"url":"http:\/\/sssss.loc","port":null,"defaults":{},"routes":{"backpack.dashboard":{"uri":"crud\/dashboard","methods":["GET","HEAD"]},"backpack":{"uri":"crud","methods":["GET","HEAD"]}
I would not want to show users this information. Can I somehow hide this information from the browser (hide backpack routes)?
Beta Was this translation helpful? Give feedback.
All reactions