Skip to content

Commit 91654c8

Browse files
authored
Merge pull request #51 from Octasol/fix-static-authheader
fix(build): static to dynamic authHeader feature
2 parents 56c4ec6 + 00df609 commit 91654c8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/app/api/usersubmissions/route.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ import {
88
import { logToDiscord } from "@/utils/logger";
99
import { NextRequest, NextResponse } from "next/server";
1010

11+
export const dynamic = 'force-dynamic';
12+
1113
export async function GET(req: NextRequest) {
1214
try {
1315
const authHeader = req.headers.get("Authorization");

0 commit comments

Comments
 (0)