Browse Source

config: add netlify deploy files

bregsiaju 1 year ago
parent
commit
b6d8481935
1 changed files with 12 additions and 0 deletions
  1. 12
    0
      netlify.toml

+ 12
- 0
netlify.toml View File

@@ -0,0 +1,12 @@
1
+# example netlify.toml
2
+[build]
3
+  command = "vite build"
4
+  functions = "netlify/functions"
5
+  publish = "dist"
6
+
7
+## Uncomment to use this redirect for Single Page Applications
8
+## Not needed for static site generators.
9
+[[redirects]]
10
+  from = "/*"
11
+  to = "/index.html"
12
+  status = 200

Loading…
Cancel
Save