moved files around
parent
fcdaa44b76
commit
7f0726b2ef
|
@ -4,7 +4,7 @@ Cache a specific hash on a bunch of public gateways.
|
||||||
|
|
||||||
**Note :** All of these (except gateway.ipfs.io and ipfs.io) are hosted by third-parties and should be treated as such.
|
**Note :** All of these (except gateway.ipfs.io and ipfs.io) are hosted by third-parties and should be treated as such.
|
||||||
|
|
||||||
You can view this website on [IPFS](https://gateway.ipfs.io/ipfs/QmVR48RQfFPNBLJKNzUGNdTjkSPGvnzPKYTxmTBbT3Lpmu/).
|
You can view this website on [IPFS](https://gateway.ipfs.io/ipfs/QmRvQrZ5Vb3Hpqg7iQBrawmbdnyi6cpgQUVXMu1DHq8yAk/).
|
||||||
|
|
||||||
Here's a screenshot :
|
Here's a screenshot :
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
body,
|
||||||
|
html {
|
||||||
|
font-family: Verdana, sans-serif;
|
||||||
|
color: #121212;
|
||||||
|
background-color: #FAFAFA;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1,
|
||||||
|
h3 {
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
#results {
|
||||||
|
font-family: "SourceCodePro", monospace;
|
||||||
|
white-space: pre;
|
||||||
|
}
|
Binary file not shown.
After Width: | Height: | Size: 99 KiB |
21
index.html
21
index.html
|
@ -4,26 +4,11 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>Public IPFS Gateways</title>
|
<title>Public IPFS Gateways</title>
|
||||||
<style>
|
<link rel="shortcut icon" type="image/png" href="images/favicon.png" />
|
||||||
body,
|
|
||||||
html {
|
|
||||||
font-family: Verdana, sans-serif;
|
|
||||||
color: #121212;
|
|
||||||
background-color: #FAFAFA;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1,
|
<link rel="stylesheet" href="css/styles.css">
|
||||||
h3 {
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
#results {
|
<script async src="javascript/app.js"></script>
|
||||||
font-family: "SourceCodePro", monospace;
|
|
||||||
white-space: pre;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script async src="./app.js"></script>
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -56,7 +56,7 @@ function start() {
|
||||||
|
|
||||||
hashToTest = document.querySelector("#input").value;
|
hashToTest = document.querySelector("#input").value;
|
||||||
|
|
||||||
fetch('./gateways.json')
|
fetch('./json/gateways.json')
|
||||||
.then(res => res.json())
|
.then(res => res.json())
|
||||||
.then(gateways => checkGateways(gateways));
|
.then(gateways => checkGateways(gateways));
|
||||||
}
|
}
|
|
@ -1 +1 @@
|
||||||
QmVR48RQfFPNBLJKNzUGNdTjkSPGvnzPKYTxmTBbT3Lpmu
|
QmRvQrZ5Vb3Hpqg7iQBrawmbdnyi6cpgQUVXMu1DHq8yAk
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
@echo off
|
@echo off
|
||||||
ipfs add --recursive --quieter --wrap-with-directory --chunker=rabin index.html app.js gateways.json > lastpubver
|
ipfs add --recursive --quieter --wrap-with-directory --chunker=rabin index.html css images javascript json > lastpubver
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
ipfs add --recursive --quieter --wrap-with-directory --chunker=rabin index.html app.js gateways.json > lastpubver
|
ipfs add --recursive --quieter --wrap-with-directory --chunker=rabin index.html css images javascript json > lastpubver
|
||||||
|
|
Loading…
Reference in New Issue