Skip to content
This repository was archived by the owner on Sep 25, 2021. It is now read-only.
This repository was archived by the owner on Sep 25, 2021. It is now read-only.

Allow opening of subdomain #149

@gearoidoceallaigh

Description

@gearoidoceallaigh

Is it possible to allow visits to subdomains? When the user first opens our app, they're asked to choose a location (eg. US, UK, DE, etc). This in turn sets their subdomain.

Unfortunately, switching from "https://example.com" to "https://uk.example.com" causes the following error:

Blocked attempt to use history.pushState() to change session history URL from https://example.com/ to https://uk.example.com/. Protocols, domains, ports, usernames, and passwords must match

Is there a way to get around this?

The plist file has an App Transport Security setting for allow subdomains - perhaps that could be useful?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions