From ad5248b0cfb5858ad87b761cfc7056cafa762545 Mon Sep 17 00:00:00 2001 From: Feodor Fitsner Date: Mon, 12 Jan 2026 16:13:38 -0800 Subject: [PATCH] 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. --- {{cookiecutter.out_dir}}/web/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/{{cookiecutter.out_dir}}/web/index.html b/{{cookiecutter.out_dir}}/web/index.html index 82ba743..53bb5e3 100644 --- a/{{cookiecutter.out_dir}}/web/index.html +++ b/{{cookiecutter.out_dir}}/web/index.html @@ -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",