-
Notifications
You must be signed in to change notification settings - Fork 26
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
[FIX] Improve library request handling #251
Conversation
@@ -7,8 +7,7 @@ async function init(config, logger) { | |||
await framework.init({config, logger}); |
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.
This already ensures that the plugin setup (incl. async tooling setup) is done before requests come in...
@@ -17,13 +16,6 @@ init.$inject = ["config", "logger"]; | |||
|
|||
module.exports = { | |||
"framework:ui5": ["factory", init], | |||
"middleware:ui5--pauseRequests": ["factory", function() { |
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.
... therefore pausing requests is not required anymore
next(); | ||
} | ||
}; | ||
rewriteUrlBefore(url) { |
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.
It would be great to have a comment for this and rewriteUrl
explaining their purpose
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.
Done
No description provided.