mirror of
https://github.com/Cian-H/am-d-model.eu.git
synced 2025-12-22 21:41:57 +00:00
New idea: explicit redirect
This commit is contained in:
5
src/routes/repo/+server.js
Normal file
5
src/routes/repo/+server.js
Normal file
@@ -0,0 +1,5 @@
|
||||
import { redirect } from '@sveltejs/kit';
|
||||
|
||||
export function GET() {
|
||||
throw redirect(302, "https://localhost/repo");
|
||||
}
|
||||
Reference in New Issue
Block a user