Configuration
Via the configuration file and/or a custom middleware.
Configuration file
Variable
Description
Overriding Middleware
from masonite.inertia import InertiaMiddleware
class HandleInertiaRequests(InertiaMiddleware):
root_view = "other_app"
def version(self, request):
return "123"Last updated