-
Notifications
You must be signed in to change notification settings - Fork 167
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: find file-routes.json in dev bundle #20324
Conversation
/** | ||
* Path of the folder to custom dev-bundle. | ||
*/ | ||
public static final String DEV_BUNDLE_FOLDER = "target/dev-bundle/"; |
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.
I guess this will most likely not work for gradle projects.
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.
StaticFileServer
seems to use DevBundleUtils.findBundleFile(...)
to get resources from the application bundle
assetInDevBundleUrl = DevBundleUtils.findBundleFile(
deploymentConfiguration.getProjectFolder(),
deploymentConfiguration.getBuildFolder(), assetInDevBundle);
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.
Good catch, thanks! I'll see if this can be used here as well.
flow-server/src/main/java/com/vaadin/flow/internal/menu/MenuRegistry.java
Show resolved
Hide resolved
flow-server/src/main/java/com/vaadin/flow/internal/menu/MenuRegistry.java
Show resolved
Hide resolved
Quality Gate passedIssues Measures |
Fixes #20290 Co-authored-by: Teppo Kurki <[email protected]>
This ticket/PR has been released with Vaadin 24.6.0.alpha2 and is also targeting the upcoming stable 24.6.0 version. |
Fixes #20290