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):
1559
1559
`path` is the path passed to `get_asset_url`.
1560
1560
1561
1561
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",
1566
1564
`app.get_asset_url("image.png")` would return:
1567
1565
1568
1566
```
1569
1567
/my-app/assets/image.png
1570
1568
```
1571
1569
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:
1574
1572
1575
1573
```
1576
1574
/assets/image.png
You can’t perform that action at this time.
0 commit comments