mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-07-23 12:36:57 +00:00
public api fixed
This commit is contained in:
@@ -6,9 +6,8 @@ import { dateOrderingFrance } from "@/utils/dbDateOrdering";
|
||||
* @route /api/tournaments/france
|
||||
* @internal
|
||||
*/
|
||||
// TODO add headers to response content-type application/json
|
||||
export const revalidate = 3600; // revalidate cache every 6 hours
|
||||
async function GET() {
|
||||
export async function GET() {
|
||||
const headers = {
|
||||
"Content-Type": "application/json",
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user