浏览代码

config: add netlify deploy files

bregsiaju 1年前
父节点
当前提交
b6d8481935
共有 1 个文件被更改,包括 12 次插入0 次删除
  1. 12
    0
      netlify.toml

+ 12
- 0
netlify.toml 查看文件

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

正在加载...
取消
保存