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
@@ -26,6 +26,6 @@ export const load = async ({ params = { hash: '' } }) => {
};
} catch (error) {
console.error('Error decoding course invite params.hash', error);
throw redirect(301, '/404');
throw redirect(307, '/404');
}
};
@@ -29,6 +29,6 @@ export const load = async ({ params = { hash: '' } }) => {
};
} catch (error) {
console.error('Error decoding invite params.hash', error);
throw redirect(301, '/404');
throw redirect(307, '/404');
}
};