deploy to Vercel

This commit is contained in:
jake committed 2021-06-04 10:19:34 -04:00
1 parent 034babd9af
commit 82c42f8322
23 files changed
+236 -3823

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@
// this will return an error from the API anyways
if (!slug || slug === "/") return;
fetch("/api/hits?slug=" + slug)
fetch("/api/hits/?slug=" + slug)
.then((response) => response.json())
.then((data) => {
if (typeof data.hits !== "undefined") {
+1 -1
View File
@@ -3,7 +3,7 @@
var wrapper = document.getElementById("github-cards");
if (wrapper) {
fetch("/api/projects?top")
fetch("/api/projects/?top")
.then((response) => response.json())
.then((data) => {
data.forEach((repo) => {