This repository has been archived on 2025-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
coryd.dev-astro/netlify.toml

36 lines
644 B
TOML

[build]
command = "npm run build"
publish = "dist"
edge_functions = "edge-functions"
[functions]
directory = "functions"
[functions.mastodon]
schedule = "*/15 * * * *"
[[edge_functions]]
function = "scrobble"
path = "/api/scrobble"
[[edge_functions]]
function = "search"
path = "/api/search"
[[redirects]]
from = "/api/artist-import"
to = "/.netlify/functions/artist-import"
status = 200
query = "*"
[[redirects]]
from = "/scripts/util.js"
to = "https://plausible.io/js/plausible.outbound-links.tagged-events.js"
status = 200
force = true
[[redirects]]
from = "/api/event"
to = "https://plausible.io/api/event"
status = 200
force = true