forked from asyncapi/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
39 lines (32 loc) · 971 Bytes
/
netlify.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "ALLOW-FROM https://www.youtube.com/"
Access-Control-Allow-Origin = "*"
[build]
command = "npm run build"
functions = "netlify/functions"
publish = "out"
[build.environment]
NPM_FLAGS = "--production=false"
NETLIFY_NEXT_PLUGIN_SKIP = "true"
NODE_VERSION = "20.11.0"
NPM_VERSION = "10.2.4"
# Used by JSON Schema definitions fetched directly from AsyncAPI website
[[redirects]]
from = "/definitions"
to = "https://github.com/asyncapi/spec-json-schemas/tree/master/schemas"
status = 200
[[edge_functions]]
function = "serve-definitions"
path = "/definitions/*"
# Used by JSON Schema definitions fetched from schemastore.org
[[redirects]]
from = "/schema-store"
to = "https://github.com/asyncapi/spec-json-schemas/tree/master/schemas"
status = 200
[[edge_functions]]
function = "serve-definitions"
path = "/schema-store/*"
[[plugins]]
package = "@netlify/plugin-nextjs"