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
Reproduce following example:
import { WebUI } from "https://deno.land/x/webui@2.4.4/mod.ts"; const myWindow = new WebUI(); myWindow.setFileHandler((myUrl: URL) => { console.log(myUrl); if (myUrl.pathname === '/app.js') return "console.log('hello from client')" throw new Error(`uknown request "${myUrl.pathname}""`) }) myWindow.show( `<html> <script src="webui.js">/script> <script src="app.js"></script> </html>` ) await WebUI.wait();
Expected to see something in terminal and browser console, or at least the error, but unfortunately nothing happens.
The text was updated successfully, but these errors were encountered:
That's true. It's not working. It works fine in the C webui core, but not in the Deno wrapper.
Sorry, something went wrong.
Seems it's never getting to execute setFileHandler, but I'm not sure might be some deeper issues preventing logging, any idea how to debug further?
No branches or pull requests
Reproduce following example:
Expected to see something in terminal and browser console, or at least the error, but unfortunately nothing happens.
The text was updated successfully, but these errors were encountered: