Skip to content

Commit 2c32175

Browse files
Persijn Kwekkeboomalansemenov
authored andcommitted
Webapp root routing
1 parent 5c46abe commit 2c32175

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/resources/webapp/webapp.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ router.post("/api/graphql", function (req) {
5555
router.get("/manifest.json", function(req) {
5656
return manifest.get(req);
5757
});
58+
5859
router.route(
5960
'GET',
6061
[
@@ -66,8 +67,9 @@ router.route(
6667
"/players/{name}",
6768
"/teams/{name}",
6869
"/games/{id}",
69-
"/",
7070
"/{path}",
71+
"/",
72+
"",
7173
],
7274
defaultRoute
7375
);

0 commit comments

Comments
 (0)