gabe
What is the best way to get the full url that Deno.serve() is running on?
yes, the
handler
(second parameter to Deno.serve()
) is a function that receives 2 parameters: request
and info
:
- serve
docs: https://docs.deno.com/api/deno/~/Deno.serve#function_serve_2
- ServeHandler
type definition: https://docs.deno.com/api/deno/~/Deno.ServeHandler
try this:
6 replies
sub sub domain on deno.dev
@isekusa wildcard subdomains are a paid feature (https://deno.com/deploy/pricing), and from the looks of it on the dashboard, they can only be applied to custom domains, not
deno.dev
.
I would go on a limb and say that it's not possible today.
Try asking on #deploy™ and see if someone from the Deno org answers with more context4 replies