SPA mode not working on Laravel Cloud deployment

Heya, not quite sure if this is a Cloud issue or a Filament issue as there isnt actually an error.

I have SPA mode enabled in my panel provider:

return $panel
->default()
->id('admin')
->path('/')
->spa()
->unsavedChangesAlerts()
->login()

When i deployed to a digital ocean droplet it was absolutely fine, working as intended. I've since deployed to a Laravel Cloud instance and all navigation is doing a full page reload. Not sure if im just missing something? Cheers in advance!
Was this page helpful?