You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I forked the repo and had a different regex for matching file extensions which worked for my needs. patrikpessi@dc17146
I havent updated the fork in a bit since I moved to using a different tool.
Problem
I have a single page app with routes to specific versions of documents
Example path from my app:
/documents/:documentName/:version/:langVariant
Example match for the path:
/documents/document1/1.8.3/en
Sirv chokes on the
.
character and throws a 404 thinking that everything after the last period is a file extension.Suggestion
Changing the regex on
line: 136
inpackage/sirv/index.js
fromto something around the lines of
seems to work for this.
Matches for the suggested regex:
The text was updated successfully, but these errors were encountered: