From ad8f788a9db6e06653e55ed386232ae50df633c4 Mon Sep 17 00:00:00 2001 From: Feodor Fitsner Date: Mon, 12 Jan 2026 16:10:13 -0800 Subject: [PATCH] Update asset and entrypoint base URLs in index.html 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",