chore: update posthug and change all 301 to 307
This commit is contained in:
@@ -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');
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user