Trying to use Deno.serve() for an https static hosting
I was trying to setup an simple hello world response in https on my custom domain.
6 Replies
My source file:
And my error:
Run with:
deno run --allow-all --unstable static.ts
Interesting. Does
dashboard.gaskam.com
resolve to an IP that is available for your host?
Does it work if you omit the hostname?The main problem was that the ssl certificate didn't work for ips, but my solution was to set hostname to local ip
@kamil.l you can just omit the hostname also