-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnetlify.toml
More file actions
38 lines (33 loc) · 1.21 KB
/
Copy pathnetlify.toml
File metadata and controls
38 lines (33 loc) · 1.21 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
[build]
command = "node write-firebase-config.js"
publish = "."
edge_functions = "netlify/edge-functions"
# Edge functions live in netlify/edge-functions/ (see inline path in each file).
# GET /api/jobs-stream — proxy-stream Job Data Pool JSON (set JDP_UPSTREAM in Netlify env, Functions scope).
# GET /api/jobs-csv-stream — proxy-stream R2 CSV snapshot (set JDP_R2_SNAPSHOT_URL or ?r2_url=).
# GET /.netlify/functions/jobs-paged — paged listings (prefers Netlify Blobs shards when built).
# Shards: netlify/functions/jobs-shard-scheduled.js (cron in netlify.toml, not a hand-called HTTP API).
[[headers]]
for = "/data/*"
[headers.values]
X-Robots-Tag = "noindex, nofollow, noarchive"
X-Content-Type-Options = "nosniff"
Cache-Control = "no-store"
[functions]
directory = "netlify/functions"
[functions."jobs-shard-scheduled"]
schedule = "@daily"
timeout = 300
[[redirects]]
from = "/usage-dashboard"
to = "/usage-dashboard/"
status = 301
[[redirects]]
from = "/api/company-logo"
to = "/.netlify/functions/company-logo"
status = 200
[[headers]]
for = "/usage-dashboard/*"
[headers.values]
X-Robots-Tag = "noindex, nofollow, noarchive"
Cache-Control = "no-store"