Adding make relative for ipfs

This commit is contained in:
David E. Perez Negron R. 2024-04-29 15:52:50 -06:00
parent 15b77d1996
commit 8618bef364
1 changed files with 6 additions and 1 deletions

View File

@ -1,8 +1,13 @@
import lume from "lume/mod.ts"; import lume from "lume/mod.ts";
import wiki from "wiki/mod.ts"; import wiki from "wiki/mod.ts";
import relativeUrls from "lume/plugins/relative_urls.ts";
const site = lume();
const site = lume({
location: new URL("https://dev.decentralizedscience.org"),
});
site.use(relativeUrls());
site.use(wiki()); site.use(wiki());
export default site; export default site;