diff --git a/packages/backend/src/routers/_default.js b/packages/backend/src/routers/_default.js index b658c419..a475bf11 100644 --- a/packages/backend/src/routers/_default.js +++ b/packages/backend/src/routers/_default.js @@ -300,6 +300,7 @@ router.all('*', async function(req, res, next) { app_origin: APP_ORIGIN, api_origin: API_ORIGIN, + use_bundled_gui: config.use_bundled_gui, manifest, gui_path: config.assets.gui, diff --git a/packages/backend/src/temp/puter_page_loader.js b/packages/backend/src/temp/puter_page_loader.js index da682c45..aba092c6 100644 --- a/packages/backend/src/temp/puter_page_loader.js +++ b/packages/backend/src/temp/puter_page_loader.js @@ -25,6 +25,7 @@ const generate_puter_page_html = ({ manifest, gui_path, + use_bundled_gui, app_origin, api_origin, @@ -113,6 +114,11 @@ const generate_puter_page_html = ({ + ${ + use_bundled_gui + ? `` + : '' + } ${ ((env == 'dev' && manifest?.lib_paths) ? manifest.lib_paths.map(path => `\n`)