ybabts
ybabts
DDeno
Created by DNA on 5/25/2023 in #help
Cannot access web server from other network devices when compiled
Yes I believe you can choose for the server to listen on a specific host name, just use the host name 0.0.0.0 instead of the default 127.0.0.1. But I'd have to test it later and try and replicate your problem.
10 replies
DDeno
Created by Zidan on 7/16/2023 in #help
How to serve HTTPS with the Deno.serve() API
you should also include ```ts instead of just the backticks at the start, it'll give syntax highlighting as well
168 replies
DDeno
Created by lvin on 7/16/2023 in #help
not sure why this code is erroring
Also I am interested in what this is here
const result = await fetchPages(number);
if (result instanceof Error) break;
const result = await fetchPages(number);
if (result instanceof Error) break;
13 replies
DDeno
Created by lvin on 7/16/2023 in #help
not sure why this code is erroring
Whatever object you're destructuring in the then statement, the name property isn't always a string, hence the error. You should log the output of the object you're destructuring to confirm this. The solution would be to type check name and videos to ensure that they are the proper types before attempting to write them to a file.
13 replies
DDeno
Created by lvin on 7/16/2023 in #help
not sure why this code is erroring
It would be helpful to share the functions you're using inside your snippet.
13 replies