github linguist-vendored

This commit is contained in:
BennyThink
2021-01-26 19:34:03 +08:00
parent d22e7ab391
commit 1cf3a4ada6
4 changed files with 7 additions and 4 deletions

7
.gitattributes vendored
View File

@@ -1,7 +1,10 @@
worker/public/css/* linguist-vendored
worker/public/css/** linguist-vendored
worker/public/fonts/* linguist-vendored
worker/public/img/* linguist-vendored
worker/public/js/* linguist-vendored
worker/public/js/search.js -linguist-vendored
worker/public/404.html linguist-vendored
worker/public/resource.html linguist-vendored
worker/*.html linguist-vendored
tests/data/* linguist-vendored

View File

@@ -53,5 +53,5 @@
src="img/200-wrangler-ferris.gif">
</div>
</body>
<script src="custom/search.js"></script>
<script src="js/search.js"></script>
</html>

View File

@@ -54,7 +54,7 @@
<h2>有问题请联系 <a style="text-decoration: none;color: green" href="https://t.me/BennyThink">Benny小可爱</a></h2>
</div>
</body>
<script src="custom/search.js"></script>
<script src="js/search.js"></script>
<script>
let kwe = document.URL.split("kw=")[1];
let kw = decodeURI(kwe).toLowerCase().replace(" ", "");