mirror of https://github.com/sveltejs/svelte
parent
0b5616b874
commit
45344bbd38
@ -1,4 +1,6 @@
|
|||||||
export function get(req, res) {
|
export function get() {
|
||||||
res.writeHead(302, { Location: 'https://discord.gg/yy75DKs' });
|
return {
|
||||||
res.end();
|
status: 302,
|
||||||
}
|
headers: { Location: 'https://discord.gg/yy75DKs' },
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|||||||
Loading…
Reference in new issue