@onekeyfe/react-native-chart-webview 3.0.47 → 3.0.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -333,6 +333,12 @@ class PooledChartWebView private constructor(
|
|
|
333
333
|
append("https://")
|
|
334
334
|
append(ASSET_HOST)
|
|
335
335
|
append('/')
|
|
336
|
+
// Serve the offline bundle from assets/<localBundle>/ (namespaced) rather
|
|
337
|
+
// than the assets root, so it doesn't collide with other bundled assets
|
|
338
|
+
// (e.g. web-embed). The dist uses relative asset paths (PUBLIC_URL='./'),
|
|
339
|
+
// so loading the entry from a subpath resolves the rest correctly.
|
|
340
|
+
append(localBundle)
|
|
341
|
+
append('/')
|
|
336
342
|
append(entryPath)
|
|
337
343
|
if (query.isNotEmpty()) {
|
|
338
344
|
append('?')
|