From e8cd9039e03d3faa670e7148a78677d853f4bb9c Mon Sep 17 00:00:00 2001 From: CTO Agent Date: Sat, 4 Apr 2026 22:14:11 +0000 Subject: [PATCH] fix: add redirects for 404 paths and remove stale placeholder MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add Vercel redirects for /api-reference, /security, /billing, /sdks/* mapping to their correct canonical paths under /reference/, /security/, /billing/, and /sdk/ respectively. These paths are linked externally and in marketing but 404 on the current site. - Remove PLACEHOLDER comment in s3-compatibility.mdx — endpoint URL is confirmed as https://eu-west-1.s3.fil.one Co-Authored-By: Paperclip --- docs/reference/s3-compatibility.mdx | 2 -- vercel.json | 9 ++++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/reference/s3-compatibility.mdx b/docs/reference/s3-compatibility.mdx index 7245bb9..c43e032 100644 --- a/docs/reference/s3-compatibility.mdx +++ b/docs/reference/s3-compatibility.mdx @@ -11,8 +11,6 @@ Fil One provides an S3-compatible API. If your application works with AWS S3, it https://eu-west-1.s3.fil.one ``` - - All requests use HTTPS. HTTP connections are rejected. ## Authentication diff --git a/vercel.json b/vercel.json index de1d46d..bb74577 100644 --- a/vercel.json +++ b/vercel.json @@ -2,5 +2,12 @@ "buildCommand": "npm run build", "outputDirectory": "build", "installCommand": "npm install", - "framework": "docusaurus-2" + "framework": "docusaurus-2", + "redirects": [ + { "source": "/api-reference", "destination": "/reference/overview", "permanent": true }, + { "source": "/security", "destination": "/security/authentication", "permanent": true }, + { "source": "/billing", "destination": "/billing/trial", "permanent": true }, + { "source": "/sdks", "destination": "/sdk/overview", "permanent": true }, + { "source": "/sdks/:path*", "destination": "/sdk/:path*", "permanent": true } + ] }