Pārlūkot izejas kodu

config: add netlify deploy files

bregsiaju 1 gadu atpakaļ
vecāks
revīzija
b6d8481935
1 mainītis faili ar 12 papildinājumiem un 0 dzēšanām
  1. 12
    0
      netlify.toml

+ 12
- 0
netlify.toml Parādīt failu

@@ -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

Notiek ielāde…
Atcelt
Saglabāt