Skip to content

Commit

Permalink
fix: use redirect for raffle
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Oct 3, 2024
1 parent 060d3f0 commit 6366b47
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export default defineConfig({
integrations: [konamiEmojiBlast()],
output: "server",
redirects: {
"/raffle": "https://forms.gle/R9STYeXJqGHjh3H79",
"/talks": "/sessions",
},
site: "https://2024.squiggleconf.com",
Expand Down
5 changes: 5 additions & 0 deletions src/pages/raffle.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import type { APIRoute } from "astro";

export const GET: APIRoute = ({ redirect }) => {
return redirect("https://forms.gle/R9STYeXJqGHjh3H79", 307);
};

0 comments on commit 6366b47

Please sign in to comment.