Skip to content

Allow subdomain variations in presentation #992

@fcisio

Description

@fcisio

Hi, I'm using the presentation editor and it seems I have a use case that is not yet supported.

My project has both languages and markets.
https://<market>.domain.com/<language>/pathname

The languages work fine as they are simple path prefixes. But the markets being subdomains is what causes issues.

When inside the editor and navigating to a specific subdomain, I get many obscure errors that don't provide much relevant context.
I do know it's not a DNS or CORS issue.

Describe the solution you'd like

I think the solution would be to add some more options in the presentationTool() plugin. Perhaps a allowedSubdomains array?
If subdomains are defined, there could be a dropdown in the editor to select them.

Describe alternatives you've considered

I have considered implementing alternate logic to pull market data via URL query params, but that's a bit too hacky to my taste.

Additional context

Screenshot 2024-02-23 at 3 07 05 PM

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