Skip to content
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

Missing prependSufix preprocessor argument #72

Open
MattiasAJohansson opened this issue May 20, 2015 · 0 comments
Open

Missing prependSufix preprocessor argument #72

MattiasAJohansson opened this issue May 20, 2015 · 0 comments

Comments

@MattiasAJohansson
Copy link

When issuing a HTTP GET with arguments:
Ex. myapp/index.html?v=1.0
it fails with error:

 Error: Unexpected request: GET myapp/index.html?v=1.0

adding a prependSufix in createHtml2JsPreprocessor  fixes this:
...createHtml2JsPreprocessor ... {
...
  var prependSufix = config.prependSufix || '';
...
    return prependPrefix + filepath.replace(stripPrefix, '').replace(stripSufix, '') + prependSufix;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant