Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
404 support for non existing paths #162
404 support for non existing paths #162
Changes from all commits
875676f
477e8f2
e4bd18e
f395863
64414ee
b80b7d8
b75a50c
d694329
1385ab4
8389703
db71aa4
a6fef26
78661a8
e3c1499
af7a078
e7c12f6
1b149dd
b311a62
56ad343
a297a41
bd0f97b
c3c9f7a
149be2c
eedf9bb
51381a0
42bc64c
c1c3d09
0b73f82
4abb343
e9798e2
d35f53c
f7313fd
ad31069
67adae6
6d17ee0
6f585b5
e54a288
306d852
a7ccb73
88d3e2a
8008146
7092f03
24f7251
2e47937
d489a59
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is still a bug when the user introduces a url with a trailing slash like '/projects/pr2/' (
sourceUrl
param in function)Furthermore the implementation could be simpler. My proposal is the following (unit tests are still green after refactoring)