Skip to content

subdomain catchall routing #31

@shi11

Description

@shi11

Hi,

I have a two single page angular applications, one on the main app and one on the 'cms' subdomain.

For the main app I'm using a catchall route like this app.all('*', routes.index); to force the main app to handle routing on the frontend.

However I'm running into an issue on the cms subdomain when I try to force the cms frontend to handle it's routes. Basically is there a way to do a catchall on the subdomain like this:

cmsroute.all('*', routes.cms); app.all('*', routes.index)

thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions