1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-03 17:46:39 -04:00

deploy to Vercel

This commit is contained in:
2021-06-04 10:19:34 -04:00
parent 034babd9af
commit 82c42f8322
23 changed files with 236 additions and 3823 deletions

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") {

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) => {