File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -1559,18 +1559,16 @@ def get_asset_url(self, path):
15591559 `path` is the path passed to `get_asset_url`.
15601560
15611561 Use `get_asset_url` in an app to access assets at the correct location
1562- in different environments. `requests_pathname_prefix` in a deployed app
1563- on Dash Enterprise includes the app name.
1564-
1565- For an app on Dash Enterprise called "my-app",
1562+ in different environments. In a deployed app on Dash Enterprise,
1563+ `requests_pathname_prefix` is the app name. For an app called "my-app",
15661564 `app.get_asset_url("image.png")` would return:
15671565
15681566 ```
15691567 /my-app/assets/image.png
15701568 ```
15711569
1572- While the same app running locally,
1573- without `requests_pathname_prefix` set would return:
1570+ While the same app running locally, without
1571+ `requests_pathname_prefix` set, would return:
15741572
15751573 ```
15761574 /assets/image.png
You can’t perform that action at this time.
0 commit comments