inertiajs / inertia-laravel

The Laravel adapter for Inertia.js.
https://inertiajs.com
MIT License
1.99k stars 222 forks source link

Problem with URL generation #646

Closed sectorrbs closed 1 week ago

sectorrbs commented 1 week ago

The problem is that the project has a base path other than "/". The root of the project is "site.com/v2". When I go to the address, for example, "site.com/v2/test", I get "site.com/v2/test?test=" in the address bar, i.e. empty query-parameters are automatically inserted into the site url Can you tell me if there is anything I can do to fix this problem?

driesvints commented 1 week ago

We don't support running Laravel in anything else but the root dir or root url, sorry.

sectorrbs commented 1 week ago

That's too bad. But maybe you can guide me, maybe there's a way around it?

пт, 5 июл. 2024 г. в 11:00, Dries Vints @.***>:

We don't support running Laravel in anything else but the root dir or root url, sorry.

— Reply to this email directly, view it on GitHub https://github.com/inertiajs/inertia-laravel/issues/646#issuecomment-2210391740, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARWNSMQ6UROLTK7TGYJNX7DZKZHDTAVCNFSM6AAAAABKMR5SVCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJQGM4TCNZUGA . You are receiving this because you authored the thread.Message ID: @.***>

-- John Lombardi Sales Manager | Dealer Development [image: phone]954-560-8829 [image: @.*** watersportscar.com