mirror of
https://github.com/walkxcode/dashboard-icons.git
synced 2025-11-19 01:57:29 +01:00
chore: fix compilation
This commit is contained in:
@@ -3,7 +3,6 @@ import { ImageResponse } from "next/og"
|
||||
import { getCommunityGalleryRecord, getCommunitySubmissionByName, getCommunitySubmissions } from "@/lib/community"
|
||||
|
||||
export const revalidate = 21600 // 6 hours
|
||||
export const runtime = 'edge';
|
||||
|
||||
export async function generateStaticParams() {
|
||||
const icons = await getCommunitySubmissions()
|
||||
|
||||
@@ -3,7 +3,6 @@ import { join } from "node:path"
|
||||
import { ImageResponse } from "next/og"
|
||||
import { getAllIcons } from "@/lib/api"
|
||||
|
||||
export const runtime = 'edge';
|
||||
export const revalidate = false
|
||||
|
||||
export async function generateStaticParams() {
|
||||
|
||||
@@ -11,3 +11,5 @@ export class ApiError extends Error {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user