feat: improved CID column
- Links to direct CIDs now have ?filename= param to preserve name and content type - When page is loaded on DNSLink website (based on Host header) then there is no public gateway endpoint. As a replacement, clicking on a CID opens it at cid.ipfs.io Context: https://github.com/ipfs/dir-index-html/issues/42 Closes #42
Showing
This diff is collapsed.
... | ... | @@ -17,6 +17,7 @@ |
"license": "MIT", | ||
"releaseCmd": "git commit -a -m \"gx publish $VERSION\"", | ||
"scripts": { | ||
"start": "cd test && go run .", | ||
"build": "npm run build:clean && npm run build:remove-style-links && npm run build:minify-wrap-css && npm run build:combine-html-css && npm run build:remove-unused", | ||
"build:clean": "rm dir-index.html", | ||
"build:remove-style-links": "sed '/<link rel=\"stylesheet\"/d' ./src/dir-index.html > ./base-html.html", | ||
... | ... |
Please register or sign in to comment