mirror of
https://github.com/blazblue547-afk/neonex.git
synced 2026-12-02 14:54:17 -05:00
NEONEX v4 — Netlify-ready vaporwave search engine
This commit is contained in:
commit
4c63fa5b8b
4 files changed
+883
No files matched your search
@@ -0,0 +1,25 @@
|
||||
[build]
|
||||
# Static site — no build step needed
|
||||
publish = "."
|
||||
|
||||
[functions]
|
||||
directory = "netlify/functions"
|
||||
|
||||
# /search → serverless function (query params pass through automatically)
|
||||
[[redirects]]
|
||||
from = "/search"
|
||||
to = "/.netlify/functions/search"
|
||||
status = 200
|
||||
|
||||
# SPA fallback — serve index.html for everything else
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
||||
|
||||
# Optional: custom headers for security
|
||||
[[headers]]
|
||||
for = "/*"
|
||||
[headers.values]
|
||||
X-Frame-Options = "DENY"
|
||||
X-Content-Type-Options = "nosniff"
|
||||
Reference in new issue
Block a user