-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
57 lines (46 loc) · 1.01 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Redirect
[[redirects]]
from = "/actor"
to = "/.netlify/functions/lesspub/actor"
status = 200
[[redirects]]
from = "/inbox"
to = "/.netlify/functions/lesspub/inbox"
status = 200
[[headers]]
for = "/.well-known/webfinger"
[headers.values]
Content-Type = "application/jrd+json"
[[headers]]
for = "/actor.jsonld"
[headers.values]
Content-Type = "application/activity+json"
[[headers]]
for = "/followers"
[headers.values]
Content-Type = "application/activity+json"
[[headers]]
for = "/outbox"
[headers.values]
Content-Type = "application/activity+json"
[[headers]]
for = "/note/*"
[headers.values]
Content-Type = "application/activity+json"
[[headers]]
for = "/create/*"
[headers.values]
Content-Type = "application/activity+json"
[[headers]]
for = "/likes/*"
[headers.values]
Content-Type = "application/activity+json"
[[headers]]
for = "/replies/*"
[headers.values]
Content-Type = "application/activity+json"
# Build
[[plugins]]
package = "@netlify/plugin-functions-install-core"
[functions.lesspub]
node_bundler = "esbuild"