Rename entryPointBaseUrl to entrypointBaseUrl
Updated all references from 'entryPointBaseUrl' to 'entrypointBaseUrl' in JavaScript and HTML files for consistency. This change ensures uniform naming across the codebase.
This commit is contained in:
parent
867f998357
commit
28c987f9a7
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
var flutterConfig = {
|
var flutterConfig = {
|
||||||
multiViewEnabled: flet.multiView,
|
multiViewEnabled: flet.multiView,
|
||||||
entryPointBaseUrl: flet.entryPointBaseUrl,
|
entrypointBaseUrl: flet.entrypointBaseUrl,
|
||||||
assetBase: flet.assetBase
|
assetBase: flet.assetBase
|
||||||
};
|
};
|
||||||
if (flet.webRenderer != "auto") {
|
if (flet.webRenderer != "auto") {
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@
|
||||||
multiView: false,
|
multiView: false,
|
||||||
noCdn: "{{ cookiecutter.no_cdn }}".toLowerCase() == "true",
|
noCdn: "{{ cookiecutter.no_cdn }}".toLowerCase() == "true",
|
||||||
webSocketEndpoint: "/ws",
|
webSocketEndpoint: "/ws",
|
||||||
entryPointBaseUrl: "/",
|
entrypointBaseUrl: "/",
|
||||||
assetBase: "/",
|
assetBase: "/",
|
||||||
routeUrlStrategy: "{{ cookiecutter.route_url_strategy }}",
|
routeUrlStrategy: "{{ cookiecutter.route_url_strategy }}",
|
||||||
canvasKitBaseUrl: "/canvaskit/",
|
canvasKitBaseUrl: "/canvaskit/",
|
||||||
|
|
|
||||||
|
|
@ -12,8 +12,8 @@ globalThis.jsConnect = async function (appId, args, dartOnMessage) {
|
||||||
};
|
};
|
||||||
console.log(`Starting up Python worker: ${appId}, args: ${args}`);
|
console.log(`Starting up Python worker: ${appId}, args: ${args}`);
|
||||||
_apps[appId] = app;
|
_apps[appId] = app;
|
||||||
app.worker = new Worker((flet.entryPointBaseUrl.endsWith("/") ?
|
app.worker = new Worker((flet.entrypointBaseUrl.endsWith("/") ?
|
||||||
flet.entryPointBaseUrl.slice(0, -1) : flet.entryPointBaseUrl) + "/python-worker.js");
|
flet.entrypointBaseUrl.slice(0, -1) : flet.entrypointBaseUrl) + "/python-worker.js");
|
||||||
|
|
||||||
var error;
|
var error;
|
||||||
app.worker.onmessage = (event) => {
|
app.worker.onmessage = (event) => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue