Files
Folo/vercel.json
T
Innei e69d120bd9 feat(legal): integrate privacy policy and terms of service into the application, #3577
- Added a new internal package for legal documents, including privacy policy and terms of service.
- Implemented a build script to convert markdown files to HTML for easy access.
- Updated the mobile and desktop applications to link to the new legal documents.
- Enhanced the login modal to include links to the privacy policy and terms of service.
- Updated routing in the SSR application to serve the legal documents.

These changes ensure compliance with legal requirements and improve user access to important information.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-15 23:58:07 +08:00

315 lines
6.9 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.vercel.app/share/:path*",
"has": [
{
"type": "host",
"value": "app.follow.is"
}
]
},
{
"source": "/og/:path*",
"destination": "https://follow-external-ssr.vercel.app/og/:path*",
"has": [
{
"type": "host",
"value": "app.follow.is"
}
]
},
{
"source": "/login",
"destination": "https://follow-external-ssr.vercel.app/login",
"has": [
{
"type": "host",
"value": "app.follow.is"
}
]
},
{
"source": "/register",
"destination": "https://follow-external-ssr.vercel.app/register",
"has": [
{
"type": "host",
"value": "app.follow.is"
}
]
},
{
"source": "/forget-password",
"destination": "https://follow-external-ssr.vercel.app/forget-password",
"has": [
{
"type": "host",
"value": "app.follow.is"
}
]
},
{
"source": "/reset-password",
"destination": "https://follow-external-ssr.vercel.app/reset-password",
"has": [
{
"type": "host",
"value": "app.follow.is"
}
]
},
{
"source": "/terms",
"destination": "https://follow-external-ssr.vercel.app/terms",
"has": [
{
"type": "host",
"value": "app.follow.is"
}
]
},
{
"source": "/privacy-policy",
"destination": "https://follow-external-ssr.vercel.app/privacy-policy",
"has": [
{
"type": "host",
"value": "app.follow.is"
}
]
},
{
"source": "/external-dist/:path*",
"destination": "https://follow-external-ssr.vercel.app/external-dist/:path*",
"has": [
{
"type": "host",
"value": "app.follow.is"
}
]
},
{
"source": "/dist-external/:path*",
"destination": "https://follow-external-ssr.vercel.app/dist-external/:path*",
"has": [
{
"type": "host",
"value": "app.follow.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"
}
]
}
]
}