We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5782fa commit f6feda7Copy full SHA for f6feda7
astro.config.mjs
@@ -76,7 +76,6 @@ export default defineConfig({
76
redirects: {
77
"/planning/": "https://forms.gle/riw6CvML8ck94A4V9",
78
"/reviewers/": "https://forms.gle/4GTJjwZ1nHBGetM18",
79
- "/[code]": "/session/[...slug]",
80
},
81
integrations: [
82
preload(),
src/pages/[code].astro
@@ -10,7 +10,5 @@ export async function getStaticPaths() {
10
}
11
12
const { slug } = Astro.props;
13
-
+return Astro.rewrite(`/session/${slug}`);
14
---
15
16
-<meta http-equiv="refresh" content=`0;url=/session/${slug}` />
0 commit comments