Skip to content

Using 'pattern' in url causes 404s #125

@jkbyln

Description

@jkbyln

I set this up under a url like:
dev.url.com/patterns/

After generating a site under public and uploading it to my server, I was getting 404's on patterns when I click into one from the top navigation bar.

Turns out postmessage.js has a regex of

/patterns\/(.*)$/

defined on line 91, which was giving me issues because my url already contained the string 'patterns'.

Minor issue, but it would be nice if it matched something less generic, or took the possibility of /patterns/patterns/ into account.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions