Skip to content

Commit

Permalink
fixed issue with requests not being displayed
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfang97 committed Mar 26, 2024
1 parent 0b7f8e5 commit 8a0586e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ function app(): express.Express {

// Web of Registries Views and Actions
app.get('/', registries);
app.post('/', requireUser, bodyParser.urlencoded({ extended: true }), requests);
app.get('/requests', requireUser, requests);
app.post('/requests/', requireUser, bodyParser.urlencoded({ extended: true }), requests);


app.get('/config/', requireUser, configView);
app.post('/config/', requireUser, bodyParser.urlencoded({ extended: true }), configView);
Expand Down
2 changes: 2 additions & 0 deletions src/templates/layouts/default.jade
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ block body
ul#nav-mobile.right.hide-on-med-and-down
li
a(href="/users") Users
li
a(href="/requests") Requests
li
a(href="/registries") Registries
li
Expand Down

0 comments on commit 8a0586e

Please sign in to comment.