Skip to content

Commit

Permalink
🎉 feat: enable more routes for API (closes #376)
Browse files Browse the repository at this point in the history
  • Loading branch information
casperiv0 committed Feb 7, 2022
1 parent 5a28eea commit 4c38685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/config/src/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export type DisabledRoute = [string, Method[] | "*"];
export const DISABLED_API_TOKEN_ROUTES: DisabledRoute[] = [
["/v1/user", "*"],
["/v1/admin/manage/cad-settings", "*"],
["/v1/admin/manage/", ["POST", "DELETE", "PUT", "PATCH"]],
["/v1/admin/manage/users", ["POST", "DELETE", "PUT", "PATCH"]],
];

type _User = {
Expand Down

0 comments on commit 4c38685

Please sign in to comment.