feat: decode assets url when loading them
This commit is contained in:
parent
b6725128a8
commit
c0ce84ed42
|
@ -86,7 +86,7 @@ class InAppLocalhostServer {
|
|||
path = _documentRoot + path;
|
||||
|
||||
try {
|
||||
body = (await rootBundle.load(path)).buffer.asUint8List();
|
||||
body = (await rootBundle.load(Uri.decodeFull(path))).buffer.asUint8List();
|
||||
} catch (e) {
|
||||
print(e.toString());
|
||||
request.response.close();
|
||||
|
|
Loading…
Reference in New Issue