server: fix user asset loading from folder named "assets" (or "client"). This also makes osc asset urls more clear
This commit is contained in:
parent
c3f526070f
commit
b8c59db5f3
4 changed files with 21 additions and 16 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue