chore: cloudcmd

This commit is contained in:
coderiaser 2026-01-15 22:14:01 +02:00
parent 6e778a35ba
commit 4b84d20bb0
17 changed files with 121 additions and 132 deletions

View file

@ -14,7 +14,7 @@ export const createCloudMenu = async (fm, options, menuData) => {
async function loadMenu() {
if (CloudCmd.config('menu') === 'aleman') {
const {host, protocol} = window.location;
const {host, protocol} = globalThis.location;
const url = `${protocol}//${host}/node_modules/aleman/menu/menu.js`;
const {createMenu} = await import(/* webpackIgnore: true */url);