chore: update posthug and change all 301 to 307

This commit is contained in:
Rotimi Best
2023-12-14 22:41:16 +03:00
parent 5f2037101b
commit 845b87b21f
12 changed files with 24 additions and 40 deletions
@@ -64,7 +64,7 @@ export async function fetchCourse(courseId?: Course['id'], slug?: Course['slug']
if (!data || error) {
console.log(`data`, data);
console.log(`fetchCourse => error`, error);
// return this.redirect(301, '/courses');
// return this.redirect(307, '/courses');
return { data, error };
}