jradxl
jradxl
DDeno
Created by jradxl on 9/30/2024 in #help
Deno import use for local files?
solved
10 replies
DDeno
Created by jradxl on 9/30/2024 in #help
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
DDeno
Created by jradxl on 9/30/2024 in #help
Deno import use for local files?
I've got a work around by using a non-user related path, and using a unix deno group. import { something } from "/opt/deno/mylibraries/mod.ts";
10 replies
DDeno
Created by jradxl on 9/30/2024 in #help
Deno import use for local files?
What should it be?
10 replies
DDeno
Created by jradxl on 9/30/2024 in #help
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
DDeno
Created by jradxl on 9/30/2024 in #help
Deno import use for local files?
I was using PyPi python's httpserver and its documentation doesn't say anything about MIME types. I'll try tomorrow with nginx. I was reading documention on import maps but didn't think it would help (or undertand it)
10 replies