revert more changes

This commit is contained in:
martin-mfg
2025-06-28 12:07:06 +00:00
parent 8c95e88298
commit 8987a7fd55
2 changed files with 16 additions and 1 deletions
@@ -24,7 +24,6 @@ export default async (req, res) => {
switch (url.pathname) {
case "/api":
//case "/api/":
api(req, res);
break;
case "/api/gist":
+16
View File
@@ -0,0 +1,16 @@
import "dotenv/config";
import statsCard from "./api/index.js";
import repoCard from "./api/pin.js";
import langCard from "./api/top-langs.js";
import wakatimeCard from "./api/wakatime.js";
import gistCard from "./api/gist.js";
import express from "express";
const app = express();
app.listen(process.env.port || 9000);
app.get("/", statsCard);
app.get("/pin", repoCard);
app.get("/top-langs", langCard);
app.get("/wakatime", wakatimeCard);
app.get("/gist", gistCard);