We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7329200 commit b423dd3Copy full SHA for b423dd3
3 files changed
.nojekyll
astro.config.mjs
@@ -2,4 +2,7 @@
2
import { defineConfig } from 'astro/config';
3
4
// https://astro.build/config
5
-export default defineConfig({});
+export default defineConfig({
6
+ // Add your Netlify site URL here when you have it
7
+ // site: 'https://your-site-name.netlify.app',
8
+});
netlify.toml
@@ -0,0 +1,19 @@
1
+[build]
+ publish = "dist"
+ command = "npm run build"
+
+[build.environment]
+ NODE_VERSION = "18"
+# Redirect rules for SPA-like behavior (optional)
9
+[[redirects]]
10
+ from = "/*"
11
+ to = "/index.html"
12
+ status = 200
13
+ conditions = {Role = ["admin"]}
14
15
+# Optional: Handle form submissions (if you plan to add forms later)
16
+# [[redirects]]
17
+# from = "/api/*"
18
+# to = "/.netlify/functions/:splat"
19
+# status = 200
0 commit comments