Skip to content

Commit

Permalink
Nedjusterte pageSize til 200
Browse files Browse the repository at this point in the history
  • Loading branch information
eilifjohansen committed Feb 4, 2025
1 parent 04fe50d commit c1c74a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ app.get('/umami/api/*', (req, res) => {

// Append pageSize=1000 to the URL
const separator = req.url.includes('?') ? '&' : '?';
req.url += `${separator}pageSize=1000`;
req.url += `${separator}pageSize=200`;

if (req.url.match(/users/)) {
res.end("APIet har blitt blokkert av Team ResearchOps i NAV, ta kontakt med oss for hjelp.");
Expand Down

0 comments on commit c1c74a9

Please sign in to comment.