mirror of
https://github.com/supabase/supabase.git
synced 2026-05-06 22:18:00 +08:00
This PR removes all CMS code from the `www` app. This includes fetching of blog posts, API routes for proxying blog posts and types. All functionality should remain the same (and the number of blog posts should be the same). <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Removed CMS integration, APIs, preview/draft/revalidate endpoints, related env vars and dependency; switched to static markdown-only blog pipeline. * **Refactor** * Simplified image and author resolution, tightened component props to static post shapes, and migrated imports to path aliases. * **Documentation** * Deleted CMS integration docs and rich-text conversion helpers. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
118 lines
2.0 KiB
JavaScript
118 lines
2.0 KiB
JavaScript
module.exports = [
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'api.producthunt.com',
|
|
port: '',
|
|
pathname: '**',
|
|
},
|
|
{
|
|
protocol: 'http',
|
|
hostname: 'localhost',
|
|
port: '3030',
|
|
pathname: '**',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'avatars.githubusercontent.com',
|
|
port: '',
|
|
pathname: '/u/*',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'ca.slack-edge.com',
|
|
port: '',
|
|
pathname: '/*',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'colab.research.google.com',
|
|
port: '',
|
|
pathname: '**',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'github.com',
|
|
port: '',
|
|
pathname: '**',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 's3-us-west-2.amazonaws.com',
|
|
port: '',
|
|
pathname: '**',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'img.youtube.com',
|
|
port: '',
|
|
pathname: '/vi/*',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'images.unsplash.com',
|
|
port: '',
|
|
pathname: '/photo-*',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'vercel.com',
|
|
port: '',
|
|
pathname: '**',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'obuldanrptloktxcffvn.supabase.co',
|
|
port: '',
|
|
pathname: '**',
|
|
},
|
|
{
|
|
protocol: 'http',
|
|
hostname: '127.0.0.1',
|
|
port: '54321',
|
|
pathname: '**',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'xguihxuzqibwxjnimxev.supabase.co',
|
|
port: '',
|
|
pathname: '**',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'pbs.twimg.com',
|
|
port: '',
|
|
pathname: '/profile_images/**',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'res.cloudinary.com',
|
|
port: '',
|
|
pathname: '**',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'supabase.com',
|
|
port: '',
|
|
pathname: '**',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'user-images.githubusercontent.com',
|
|
port: '',
|
|
pathname: '**',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'media.licdn.com',
|
|
port: '',
|
|
pathname: '/dms/image/**',
|
|
},
|
|
// OG Edge Function
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'zhfonblqamxferhoguzj.supabase.co',
|
|
port: '',
|
|
pathname: '/functions/v1/generate-og',
|
|
},
|
|
]
|