server: fix user asset loading from folder named "assets" (or "client"). This also makes osc asset urls more clear

This commit is contained in:
jean-emmanuel 2026-01-08 21:24:58 +01:00
parent c3f526070f
commit b8c59db5f3
4 changed files with 21 additions and 16 deletions

View file

@ -20,7 +20,7 @@ var scriptGlobals = scriptVm.globals,
const ace = window.ace
ace.config.set('basePath', '/client/ace/')
ace.config.set('basePath', '/__APP_DIR__/client/ace/')
function setCommandEnabled(editor, name, enabled) {
var command = editor.commands.byName[name]