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:
Feodor Fitsner 2026-01-12 16:13:38 -08:00 committed by GitHub
parent 3f801f2731
commit ad5248b0cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -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",