This commit is contained in:
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
js="gitcdn.js"
|
||||
min="gitcdn.min.js"
|
||||
js="yagcdn.js"
|
||||
min="yagcdn.min.js"
|
||||
outdir="./output/"
|
||||
scriptdir="${outdir}scripts/"
|
||||
|
||||
@ -24,7 +24,7 @@ sha1() {
|
||||
|
||||
rename_with_hash() {
|
||||
sha1=${1}
|
||||
cp ${min} "${scriptdir}/gitcdn-${sha1}.min.js"
|
||||
cp ${min} "${scriptdir}/yagcdn-${sha1}.min.js"
|
||||
}
|
||||
|
||||
create_index() {
|
||||
|
@ -3,7 +3,7 @@ module Data exposing (Provider(..), Url, hostname, pathSeparator, toUrl)
|
||||
|
||||
hostname : String
|
||||
hostname =
|
||||
"https://gitcdn.tk/"
|
||||
"https://yagcdn.tk/"
|
||||
|
||||
|
||||
type Provider
|
||||
|
@ -11,12 +11,12 @@
|
||||
<body>
|
||||
<section>
|
||||
<header>
|
||||
<h1>GitCDN</h1>
|
||||
<h1>YaGCDN</h1>
|
||||
</header>
|
||||
|
||||
<article>
|
||||
<div id="elm-${SHA1}"></div>
|
||||
<script src="./scripts/gitcdn-${SHA1}.min.js">
|
||||
<script src="./scripts/yagcdn-${SHA1}.min.js">
|
||||
</script>
|
||||
<script>
|
||||
var app = Elm.Main.init({ node: document.getElementById("elm-${SHA1}") });
|
||||
@ -45,7 +45,7 @@
|
||||
<nav>
|
||||
<ul>
|
||||
<li>
|
||||
<small><a href="https://git.vbrandl.net/vbrandl/gitache">Repository</a></small>
|
||||
<small><a href="https://github.com/vbrandl/yagcdn">Repository</a></small>
|
||||
</li>
|
||||
<li>
|
||||
<small><a href="https://opensource.org/licenses/MIT">MIT License</a></small>
|
||||
|
Reference in New Issue
Block a user