Update asset and entrypoint base URLs in index.html (#65)
Replaced hardcoded assetBase and added entrypointBaseUrl to use the value from cookiecutter.base_url. This improves configurability for different deployment environments.
This commit is contained in:
parent
3f801f2731
commit
ad5248b0cf
|
|
@ -25,7 +25,8 @@
|
|||
multiView: false,
|
||||
noCdn: "{{ cookiecutter.no_cdn }}".toLowerCase() == "true",
|
||||
webSocketEndpoint: "/ws",
|
||||
assetBase: "/",
|
||||
entrypointBaseUrl: "{{ cookiecutter.base_url }}",
|
||||
assetBase: "{{ cookiecutter.base_url }}",
|
||||
routeUrlStrategy: "{{ cookiecutter.route_url_strategy }}",
|
||||
canvasKitBaseUrl: "/canvaskit/",
|
||||
pyodideUrl: "/pyodide/pyodide.js",
|
||||
|
|
|
|||
Loading…
Reference in New Issue