jradxl
Deno import use for local files?
I've got it working. I've used Nginx and https, with a real ssl certificate but limited to within my own lan (using pihole as split dns. ie not public). And ensuring the published directory had a deno.json file. I'm not sure what bits caused it to work, but it certainly does now.
So my import statement is like:
import { wordCount } from "https://myhost.mydomain.dynu.XXX/mydeno/string-utils/mod.ts"
Thanks for answering
10 replies
Deno import use for local files?
curl -I http://localhost/mod.ts
HTTP/1.1 501 Not Implemented
Content-Type: text/plain
Content-Length: 22
Date: Mon, 30 Sep 2024 23:09:54 +0000
10 replies