🚿 clena up and bump dependencies

This commit is contained in:
platane
2022-02-07 13:20:46 +01:00
committed by Platane
parent 4e9c1ff670
commit b4e8fc83ef
6 changed files with 893 additions and 729 deletions

View File

@@ -11,7 +11,7 @@ const demos: string[] = require("./demo.json");
const webpackDevServerConfiguration: WebpackDevServerConfiguration = {
open: { target: demos[1] + ".html" },
onAfterSetupMiddleware: ({ app }) => {
app.get("/api/github-user-contribution/:userName", async (req, res) => {
app!.get("/api/github-user-contribution/:userName", async (req, res) => {
const userName: string = req.params.userName;
res.send(await getGithubUserContribution(userName));
});