Skip to content

Commit

Permalink
Enable grants endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
chadokruse committed Dec 25, 2024
1 parent fadf607 commit 11cb359
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default {
const profilesEndpoint = '/api/v1/profiles';
const grantsEndpoint = '/api/v1/grants';

if (url.pathname.startsWith(profilesEndpoint || grantsEndpoint)) {
if (url.pathname.startsWith(profilesEndpoint) || url.pathname.startsWith(grantsEndpoint)) {
return apiRouter.handle(request, env);
}

Expand Down

0 comments on commit 11cb359

Please sign in to comment.