Summer Sale! All accounts are 50% off this week.

brand87's avatar

Spark routes on subdomain

Hi,

Just a quick question is it possible to move all the spark vendor pages over to dashboard.example.com So if a user is logged in it will push them there and if not it displays the welcome page.

I can use the subdomain routing group for the spark routes but I'm unsure how to redirect people to dashboard.example.com on login or if they are already logged in.

e.g. I want the Spark settings/login pages to be dashboard.example.com/login

Thanks!

0 likes
1 reply
Braunson's avatar

You'll want to look into updating existing or adding new middleware ;-)

Please or to participate in this conversation.