Skip to content
This repository has been archived by the owner on May 1, 2020. It is now read-only.

locationStrategy: 'path' deeplinks #1545

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JoeMeeks
Copy link

@JoeMeeks JoeMeeks commented Jan 20, 2020

Short description of what this resolves:

enable 404 redirects in http-server.ts to allow locationStrategy: 'path' to work with deeplinks when running ionic:serve per ionic-team/ionic-framework#10565 (comment)

Changes proposed in this pull request:

  • http-server.ts wildcard handling of all sub-directories to point to index.html
  • increment app-scripts version number to 3.2.5
  • update CHANGELOG.md release description

Fixes: #
"Cannot GET /[deeplink-path]" no longer occurs and redirects work not using hash navigation

@Pyav123
Copy link

Pyav123 commented Apr 30, 2020

Hello @JoeMeeks I was also facing same problem and your solution is working , but when will it be available for us to use ? As I have added that line of code manually in node module

@JoeMeeks
Copy link
Author

@Pyav123 I wish I knew. I submitted this PR for review 3 months ago.

@liamdebeasi
Copy link
Contributor

liamdebeasi commented Apr 30, 2020

Hey there! Most of the team's efforts are focused on supporting Ionic Framework v5. As a result, it is unlikely this PR will get reviewed/merged. You are more than welcome to fork ionic-app-scripts and apply the patch that way. Thanks!

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.

3 participants