fix(admin-panel): fix blog bugs and add ingredients editor, draft autosave, and category seeding
This commit is contained in:
1 parent
ebc61d5be2
commit
913e6acd3d
11 files changed
+375
-20
No files matched your search
@@ -64,7 +64,11 @@ async function handleRevalidate(request: NextRequest) {
|
||||
}
|
||||
|
||||
if (path) {
|
||||
revalidatePath(path);
|
||||
try {
|
||||
revalidatePath(path, 'page');
|
||||
} catch {
|
||||
revalidatePath(path);
|
||||
}
|
||||
revalidated.path = path;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user