Files
Folo/vercel.json
Innei a9d70a9900 refactor(legal): remove legal package and update references
- Deleted the `@follow/legal` package and its associated files, including privacy and terms of service documents.
- Updated various components to remove dependencies on the legal package, replacing modal presentations with direct links to external privacy and terms pages.
- Adjusted configuration files and routes to reflect the removal of legal utilities, ensuring a cleaner codebase.

These changes streamline the project by eliminating unnecessary dependencies and improving the user experience with direct access to legal documents.

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-24 01:46:30 +08:00

375 lines
8.3 KiB
JSON

{
"$schema": "https://openapi.vercel.sh/vercel.json",
"rewrites": [
{
"source": "/__debug_proxy",
"destination": "/__debug_proxy.html"
},
{
"source": "/__debug_proxy/:path*",
"destination": "/__debug_proxy.html"
},
{
"source": "/share/:path*",
"destination": "https://follow-external-ssr-follow.vercel.app/share/:path*",
"has": [
{
"type": "host",
"value": "app.follow.is"
}
]
},
{
"source": "/og/:path*",
"destination": "https://follow-external-ssr-follow.vercel.app/og/:path*",
"has": [
{
"type": "host",
"value": "app.follow.is"
}
]
},
{
"source": "/login",
"destination": "https://follow-external-ssr-follow.vercel.app/login",
"has": [
{
"type": "host",
"value": "app.follow.is"
}
]
},
{
"source": "/register",
"destination": "https://follow-external-ssr-follow.vercel.app/register",
"has": [
{
"type": "host",
"value": "app.follow.is"
}
]
},
{
"source": "/forget-password",
"destination": "https://follow-external-ssr-follow.vercel.app/forget-password",
"has": [
{
"type": "host",
"value": "app.follow.is"
}
]
},
{
"source": "/reset-password",
"destination": "https://follow-external-ssr-follow.vercel.app/reset-password",
"has": [
{
"type": "host",
"value": "app.follow.is"
}
]
},
{
"source": "/external-dist/:path*",
"destination": "https://follow-external-ssr-follow.vercel.app/external-dist/:path*",
"has": [
{
"type": "host",
"value": "app.follow.is"
}
]
},
{
"source": "/dist-external/:path*",
"destination": "https://follow-external-ssr-follow.vercel.app/dist-external/:path*",
"has": [
{
"type": "host",
"value": "app.follow.is"
}
]
},
{
"source": "/share/:path*",
"destination": "https://follow-external-ssr.vercel.app/share/:path*",
"has": [
{
"type": "host",
"value": "app.folo.is"
}
]
},
{
"source": "/og/:path*",
"destination": "https://follow-external-ssr.vercel.app/og/:path*",
"has": [
{
"type": "host",
"value": "app.folo.is"
}
]
},
{
"source": "/login",
"destination": "https://follow-external-ssr.vercel.app/login",
"has": [
{
"type": "host",
"value": "app.folo.is"
}
]
},
{
"source": "/register",
"destination": "https://follow-external-ssr.vercel.app/register",
"has": [
{
"type": "host",
"value": "app.folo.is"
}
]
},
{
"source": "/forget-password",
"destination": "https://follow-external-ssr.vercel.app/forget-password",
"has": [
{
"type": "host",
"value": "app.folo.is"
}
]
},
{
"source": "/reset-password",
"destination": "https://follow-external-ssr.vercel.app/reset-password",
"has": [
{
"type": "host",
"value": "app.folo.is"
}
]
},
{
"source": "/external-dist/:path*",
"destination": "https://follow-external-ssr.vercel.app/external-dist/:path*",
"has": [
{
"type": "host",
"value": "app.folo.is"
}
]
},
{
"source": "/dist-external/:path*",
"destination": "https://follow-external-ssr.vercel.app/dist-external/:path*",
"has": [
{
"type": "host",
"value": "app.folo.is"
}
]
},
{
"source": "/share/:path*",
"destination": "https://follow-external-ssr-dev.vercel.app/share/:path*",
"has": [
{
"type": "host",
"value": "dev.follow.is"
}
]
},
{
"source": "/og/:path*",
"destination": "https://follow-external-ssr-dev.vercel.app/og/:path*",
"has": [
{
"type": "host",
"value": "dev.follow.is"
}
]
},
{
"source": "/login",
"destination": "https://follow-external-ssr-dev.vercel.app/login",
"has": [
{
"type": "host",
"value": "dev.follow.is"
}
]
},
{
"source": "/register",
"destination": "https://follow-external-ssr-dev.vercel.app/register",
"has": [
{
"type": "host",
"value": "dev.follow.is"
}
]
},
{
"source": "/forget-password",
"destination": "https://follow-external-ssr-dev.vercel.app/forget-password",
"has": [
{
"type": "host",
"value": "dev.follow.is"
}
]
},
{
"source": "/reset-password",
"destination": "https://follow-external-ssr-dev.vercel.app/reset-password",
"has": [
{
"type": "host",
"value": "dev.follow.is"
}
]
},
{
"source": "/external-dist/:path*",
"destination": "https://follow-external-ssr-dev.vercel.app/external-dist/:path*",
"has": [
{
"type": "host",
"value": "dev.follow.is"
}
]
},
{
"source": "/dist-external/:path*",
"destination": "https://follow-external-ssr-dev.vercel.app/dist-external/:path*",
"has": [
{
"type": "host",
"value": "dev.follow.is"
}
]
},
{
"source": "/share/:path*",
"destination": "https://follow-external-ssr-staging.vercel.app/share/:path*",
"has": [
{
"type": "host",
"value": "staging.follow.is"
}
]
},
{
"source": "/og/:path*",
"destination": "https://follow-external-ssr-staging.vercel.app/og/:path*",
"has": [
{
"type": "host",
"value": "staging.follow.is"
}
]
},
{
"source": "/login",
"destination": "https://follow-external-ssr-staging.vercel.app/login",
"has": [
{
"type": "host",
"value": "staging.follow.is"
}
]
},
{
"source": "/register",
"destination": "https://follow-external-ssr-staging.vercel.app/register",
"has": [
{
"type": "host",
"value": "staging.follow.is"
}
]
},
{
"source": "/forget-password",
"destination": "https://follow-external-ssr-staging.vercel.app/forget-password",
"has": [
{
"type": "host",
"value": "staging.follow.is"
}
]
},
{
"source": "/reset-password",
"destination": "https://follow-external-ssr-staging.vercel.app/reset-password",
"has": [
{
"type": "host",
"value": "staging.follow.is"
}
]
},
{
"source": "/external-dist/:path*",
"destination": "https://follow-external-ssr-staging.vercel.app/external-dist/:path*",
"has": [
{
"type": "host",
"value": "staging.follow.is"
}
]
},
{
"source": "/dist-external/:path*",
"destination": "https://follow-external-ssr-staging.vercel.app/dist-external/:path*",
"has": [
{
"type": "host",
"value": "staging.follow.is"
}
]
},
{
"source": "/((?!assets|vendor|locales|dist-external|external-dist/).*)",
"destination": "/index.html"
}
],
"redirects": [
{
"source": "/feed/:id",
"destination": "/share/feeds/:id",
"permanent": true
},
{
"source": "/list/:id",
"destination": "/share/lists/:id",
"permanent": true
},
{
"source": "/profile/:path*",
"destination": "/share/users/:path*",
"permanent": true
}
],
"headers": [
{
"source": "/vendor/(.*)",
"headers": [
{
"key": "Cache-Tag",
"value": "follow-assets"
}
]
},
{
"source": "/assets/(.*)",
"headers": [
{
"key": "Cache-Tag",
"value": "follow-assets"
}
]
}
]
}