Skip to content

Commit 6ff67bb

Browse files
committed
remove auth for a sec
1 parent 0b63182 commit 6ff67bb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/app/server/routes/rm/stale.post.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ export default eventHandler(async (event) => {
88
const signal = toWebRequest(event).signal;
99
const { rmStaleKey } = useRuntimeConfig(event);
1010

11-
if (rmStaleKeyHeader !== rmStaleKey) {
12-
throw createError({
13-
status: 403,
14-
});
15-
}
11+
// if (rmStaleKeyHeader !== rmStaleKey) {
12+
// throw createError({
13+
// status: 403,
14+
// });
15+
// }
1616

1717
const { bucket, cursor, remove } = await readBody<{ bucket: 'packages' | 'templates'; cursor: string | null; remove: boolean }>(event);
1818

0 commit comments

Comments
 (0)