-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnetlify.toml
More file actions
135 lines (113 loc) · 3.57 KB
/
Copy pathnetlify.toml
File metadata and controls
135 lines (113 loc) · 3.57 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
# Netlify configuration for GhostESP website
# https://docs.netlify.com/configure-builds/file-based-configuration/
[build]
publish = "."
# Canonical URL shape: serve extensionless URLs and redirect legacy .html paths.
[[redirects]]
from = "/boards.html"
to = "/boards"
status = 301
force = true
[[redirects]]
from = "/flasher.html"
to = "/flasher"
status = 301
force = true
[[redirects]]
from = "/serial.html"
to = "/serial"
status = 301
force = true
[[redirects]]
from = "/companion.html"
to = "/companion"
status = 301
force = true
[[redirects]]
from = "/marketplace.html"
to = "/marketplace"
status = 301
force = true
[[redirects]]
from = "/asset-marketplace.html"
to = "/asset-marketplace"
status = 301
force = true
[[redirects]]
from = "/scripts-marketplace.html"
to = "/scripts-marketplace"
status = 301
force = true
[[redirects]]
from = "/asset-pack-builder.html"
to = "/asset-pack-builder"
status = 301
force = true
[[redirects]]
from = "/irdb.html"
to = "/irdb"
status = 301
force = true
[[redirects]]
from = "/openwd.html"
to = "/openwd"
status = 301
force = true
[[redirects]]
from = "/blog.html"
to = "/blog"
status = 301
force = true
[[redirects]]
from = "/blog-deauth-vs-jamming.html"
to = "/blog-deauth-vs-jamming"
status = 301
force = true
[[redirects]]
from = "/blog-esp32-misconceptions.html"
to = "/blog-esp32-misconceptions"
status = 301
force = true
[[redirects]]
from = "/blog-module-not-problem.html"
to = "/blog-module-not-problem"
status = 301
force = true
[[redirects]]
from = "/brand-assets.html"
to = "/brand-assets"
status = 301
force = true
[[redirects]]
from = "/brand-guidelines.html"
to = "/brand-guidelines"
status = 301
force = true
[[redirects]]
from = "/feedback.html"
to = "/feedback"
status = 301
force = true
[[redirects]]
from = "/changelog.html"
to = "/changelog"
status = 301
force = true
# Pretty URLs - serve extensionless URLs from matching .html files.
[[redirects]]
from = "/:url"
to = "/:url.html"
status = 200
force = false
# Custom 404 page
[[redirects]]
from = "/*"
to = "/404.html"
status = 404
[[headers]]
for = "/*"
[headers.values]
Content-Security-Policy = "default-src 'self'; script-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net https://unpkg.com https://www.googletagmanager.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com https://unpkg.com https://cdn.jsdelivr.net https://cdnjs.cloudflare.com; img-src 'self' https://ghostesp.net https://raw.githubusercontent.com https://gesp.fuckyourcdn.com https://www.youtube.com https://i.ytimg.com https://static.wixstatic.com https://ae-pic-a1.aliexpress-media.com https://avatars.githubusercontent.com https://lilygo.cc https://media-cdn.seeedstudio.com https://shop.m5stack.com https://*.tile.openstreetmap.org data:; font-src 'self' https://fonts.gstatic.com https://cdn.jsdelivr.net https://cdnjs.cloudflare.com; frame-src https://www.youtube.com; connect-src 'self' https://raw.githubusercontent.com https://gesp.fuckyourcdn.com https://api.github.com https://cdn.spookytools.com https://www.google-analytics.com https://googleads.g.doubleclick.net https://discord.com https://ingesteer.services-prod.nsvcs.net https://super-breeze-c8cd.flavouredjelly.workers.dev https://fragrant-flower-ba0b.creepersbeast.workers.dev; object-src 'none'; base-uri 'self'; form-action 'self'; frame-ancestors 'self'"
Referrer-Policy = "strict-origin-when-cross-origin"
X-Content-Type-Options = "nosniff"
X-Frame-Options = "SAMEORIGIN"