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

Fixed incorrect routing for 404 error page #72

Merged
merged 1 commit into from
Oct 20, 2017
Merged

Conversation

limjingrong
Copy link
Contributor

@limjingrong limjingrong commented Oct 19, 2017

This fixes issue #69
This seems to be an existing issue: kadirahq/flow-router#684, but the only solution stated was to remove the unwanted parts of the string using regular expressions.
By referencing the FlowRouter API at https://github.com/kadirahq/flow-router#api, note that FlowRouter.url is

Just like FlowRouter.path, but gives the absolute url.

Changing FlowRouter.url to FlowRouter.path seems to fix this issue.

@Zodiase
Copy link
Contributor

Zodiase commented Oct 20, 2017

Confirmed to fix the issue. LGTM.

@Zodiase Zodiase merged commit e47c3b5 into master Oct 20, 2017
@Zodiase Zodiase deleted the fixIncorrectRouting branch October 20, 2017 16:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants