Feb 13, 2023
0
Level 5
Several inertia roots
Hello,
We are building a website with several inertia roots -> for partner login, admin login and the main site. We have duplicated the "HandleInertiaRequest" middleware for each roots and customised it.
I have not been able to identify any drawbacks to this approach. The inertia magic is applied in the middleware, which is easily separated, but I cannot help to question whether there is something we have not thought about which will cause us troubles in a later stage.
Do you guys have experience with this approach or can you see any negative consequences?
Please or to participate in this conversation.