Skip to content

Commit

Permalink
add revalidate
Browse files Browse the repository at this point in the history
  • Loading branch information
YAlorenzo committed May 20, 2024
1 parent 2b26437 commit e7638df
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions app/api/cron/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,8 @@ import { scrapeAmazonProduct } from "@/lib/scraper";
import { getAveragePrice, getEmailNotifType, getHighestPrice, getLowestPrice } from "@/lib/utils";
import { NextResponse } from "next/server";

// export const maxDuration = 60;

// export const dynamic = 'force-dynamic';

// export const revalidate = 0;
export const revalidate = 0;


export async function GET() {
Expand Down

0 comments on commit e7638df

Please sign in to comment.