Skip to content

Commit

Permalink
🤔 dont cache anything
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaultleouay committed Apr 18, 2024
1 parent 18cf35d commit 55ad383
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/web/src/app/api/checker/cron/10m/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export const runtime = "nodejs";
// export const preferredRegion = ["auto"];
export const dynamic = "force-dynamic";
export const maxDuration = 300;
export const revalidate = 0;

export async function GET(req: NextRequest) {
if (isAuthorizedDomain(req.url)) {
Expand Down
1 change: 1 addition & 0 deletions apps/web/src/app/api/checker/cron/1h/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export const runtime = "nodejs";
// export const preferredRegion = ["auto"];
export const dynamic = "force-dynamic";
export const maxDuration = 300;
export const revalidate = 0;

export async function GET(req: NextRequest) {
if (isAuthorizedDomain(req.url)) {
Expand Down
1 change: 1 addition & 0 deletions apps/web/src/app/api/checker/cron/1m/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export const runtime = "nodejs";
// export const preferredRegion = ["auto"];
export const dynamic = "force-dynamic";
export const maxDuration = 300;
export const revalidate = 0;

export async function GET(req: NextRequest) {
if (isAuthorizedDomain(req.url)) {
Expand Down
1 change: 1 addition & 0 deletions apps/web/src/app/api/checker/cron/30m/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export const runtime = "nodejs";
// export const preferredRegion = ["auto"];
export const dynamic = "force-dynamic";
export const maxDuration = 300;
export const revalidate = 0;

export async function GET(req: NextRequest) {
if (isAuthorizedDomain(req.url)) {
Expand Down
1 change: 1 addition & 0 deletions apps/web/src/app/api/checker/cron/30s/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export const runtime = "nodejs";
// export const preferredRegion = ["auto"];
export const dynamic = "force-dynamic";
export const maxDuration = 300;
export const revalidate = 0;

export async function GET(req: NextRequest) {
if (isAuthorizedDomain(req.url)) {
Expand Down
1 change: 1 addition & 0 deletions apps/web/src/app/api/checker/cron/5m/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export const runtime = "nodejs";
// export const preferredRegion = ["auto"];
export const dynamic = "force-dynamic";
export const maxDuration = 300;
export const revalidate = 0;

export async function GET(req: NextRequest) {
if (isAuthorizedDomain(req.url)) {
Expand Down

0 comments on commit 55ad383

Please sign in to comment.