moved files around

merge-requests/2/merge
Nato Boram 2019-04-04 19:12:27 -04:00
parent fcdaa44b76
commit 7f0726b2ef
9 changed files with 24 additions and 23 deletions

View File

@ -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.
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 :

16
css/style.css Normal file
View File

@ -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;
}

BIN
images/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

View File

@ -4,26 +4,11 @@
<head>
<meta charset="UTF-8">
<title>Public IPFS Gateways</title>
<style>
body,
html {
font-family: Verdana, sans-serif;
color: #121212;
background-color: #FAFAFA;
}
<link rel="shortcut icon" type="image/png" href="images/favicon.png" />
h1,
h3 {
font-weight: normal;
}
<link rel="stylesheet" href="css/styles.css">
#results {
font-family: "SourceCodePro", monospace;
white-space: pre;
}
</style>
<script async src="./app.js"></script>
<script async src="javascript/app.js"></script>
</head>
<body>

View File

@ -56,7 +56,7 @@ function start() {
hashToTest = document.querySelector("#input").value;
fetch('./gateways.json')
fetch('./json/gateways.json')
.then(res => res.json())
.then(gateways => checkGateways(gateways));
}

View File

@ -1 +1 @@
QmVR48RQfFPNBLJKNzUGNdTjkSPGvnzPKYTxmTBbT3Lpmu
QmRvQrZ5Vb3Hpqg7iQBrawmbdnyi6cpgQUVXMu1DHq8yAk

View File

@ -1,2 +1,2 @@
@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

View File

@ -1,2 +1,2 @@
#!/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