wakelock_plus icon indicating copy to clipboard operation
wakelock_plus copied to clipboard

fix: add support for non-root base-href

Open holzgeist opened this issue 5 months ago • 3 comments

Description

if a web-app is deployed using --base-href=/path/to/deployed/flutter/app during build, the URLs starting with ./assets won't work anymore. Using assetManager will properly resolve them. It uses assetBase from the loader config specified here

NB :warning:

I only tested the url.startsWith('assets/') code path as it's the only one used in the library. It should work the same for ./ though

holzgeist avatar Sep 18 '24 10:09 holzgeist