We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(working) http://antoine.doussaud.org/?r=main/test/ ( search starlight in /pub/starlight/starlight.js ) (not working) http://antoine.doussaud.org/main/test/ ( search starlight in /main/test/pub/starlight/starlight.js )
<h2>Server:</h2> <?lua@server local str = _VERSION .. ", " if type(jit) == 'table' then str = str .. jit.version .. "<br>" --LuaJIT 2.0.2 else str = str .. "no JIT<br>" end page:print(str) ?> <h2>Client:</h2> <div id="app"></div> <?lua@client local str = _VERSION .. ", " if type(jit) == 'table' then str = str .. jit.version --LuaJIT 2.0.2 else str = str .. "no JIT" end local app = window.document:getElementById('app') print(str) app.textContent = str ?>
The text was updated successfully, but these errors were encountered:
This comes from this line in latclient :
vm.js_url = conf.lua_at_client.vm_url or "./pub"
The solution is to add a vm_url in conf.lua :
vm_url
conf.lua
lua_at_client = { vm = "starlight", vm_url = "/pub" },
Sorry, something went wrong.
No branches or pull requests
(working) http://antoine.doussaud.org/?r=main/test/ ( search starlight in /pub/starlight/starlight.js )
(not working) http://antoine.doussaud.org/main/test/ ( search starlight in /main/test/pub/starlight/starlight.js )
Page content:
The text was updated successfully, but these errors were encountered: