mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-05-18 15:44:25 -04:00
deploy to Vercel
This commit is contained in:
@@ -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") {
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user