We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3402cb8 commit f9b28bbCopy full SHA for f9b28bb
dash/dash.py
@@ -1185,11 +1185,18 @@ def csp_hashes(self, hash_algorithm="sha256"):
1185
]
1186
1187
def get_asset_url(self, path):
1188
- asset = get_asset_path(
1189
- self.config.requests_pathname_prefix,
+ if self.config.assets_external_path:
+ asset = get_asset_path(
1190
+ self.config.assets_external_path,
1191
+ path,
1192
+ self.config.assets_url_path.lstrip("/"),
1193
+ )
1194
+ else:
1195
1196
+ self.config.requests_pathname_prefix,
1197
path,
- self.config.assets_url_path.lstrip("/"),
- )
1198
1199
1200
1201
return asset
1202
0 commit comments