Skip to content

Commit a807fe1

Browse files
Persijn Kwekkeboompoi33
authored andcommitted
404 on direct links
1 parent 3047ec4 commit a807fe1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main/resources/webapp/webapp.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,10 @@ router.post("/api/graphql", function (req) {
5555
router.get("/manifest.json", function(req) {
5656
return manifest.get(req);
5757
});
58-
58+
router.get("/leagues/{name}", defaultRoute);
59+
router.get("/players/{name}", defaultRoute);
60+
router.get("/teams/{name}", defaultRoute);
61+
router.get("/games/{id}", defaultRoute);
5962
router.get("/", defaultRoute);
6063
router.get("/{path}", defaultRoute);
6164

0 commit comments

Comments
 (0)