fix
Some checks failed
Deploy ailog / build-and-deploy (push) Failing after 13m14s

This commit is contained in:
2025-06-11 12:34:24 +09:00
parent f1f179903d
commit f7c9e1085c
66 changed files with 9152 additions and 800 deletions

31
wrangler.toml Normal file
View File

@@ -0,0 +1,31 @@
name = "ai-log"
compatibility_date = "2024-01-01"
[env.production]
name = "ai-log"
[build]
command = "cargo build --release && ./target/release/ailog build my-blog"
publish = "my-blog/public"
[[redirects]]
from = "/api/ask"
to = "https://ai-gpt-mcp.your-domain.com/ask"
status = 200
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "DENY"
X-Content-Type-Options = "nosniff"
Referrer-Policy = "strict-origin-when-cross-origin"
[[headers]]
for = "/css/*"
[headers.values]
Cache-Control = "public, max-age=31536000, immutable"
[[headers]]
for = "*.js"
[headers.values]
Cache-Control = "public, max-age=31536000, immutable"