Resource::getUrl(panel: 'server') still uses the wrong panel in spaUrlExceptions()
My app is using SPA problem is i have a blade with a component using
wire:ignore
which causes it to initialise twice when going backward/forward one page.
This doesn't happen when i remove ->spa()
from the PanelProvider so i thought i'd add it the page to spaUrlExceptions()
Am i missing something ?

13 Replies
I managed to make it sort of work with
But
Still doesn't work
Also tried
url('server/*/console')
but spa is still enabled on that urlYou cannot run get Tenant from the panel provider because the panel hasn't booted yet. That's why it doesn't work.
Hey thanks for your reply.
Ok, then how am i supposed to exclude
/server/{tenant}/console
from spa ? Even the url('/server/*/console') couldn't save medoes
/server/*/console
work?
Sadly doesn't; its like if spaExceptions are never working unless i use
*
so might aswell not use spa in the first place; i just want to disable it on the console page tho*/console
Still nothing
Using filament 3.2.124 it that can help
What about....
nope
ahh god knows then, look into how the spaUrlExceptions function works
Is there a way i could debug using smth like
dump($this->hasSpaMode());
?If you use an IDE you can click down into the vendor folders and then debug it accordingly