diff --git a/apps/docs/docs/reference/storage.mdx b/apps/docs/docs/reference/storage.mdx index 2ee380acae1..e56f8949e7e 100644 --- a/apps/docs/docs/reference/storage.mdx +++ b/apps/docs/docs/reference/storage.mdx @@ -24,5 +24,5 @@ Read [this post](https://supabase.com/blog/supabase-storage) on why we decided t - [Source Code](https://github.com/supabase/storage-api) - [Known bugs and issues](https://github.com/supabase/storage-js/issues) -- [Storage Guides](/guides/storage) +- [Storage Guides](/docs/guides/storage) - [OpenAPI Docs](https://supabase.github.io/storage-api/) diff --git a/apps/docs/next.config.mjs b/apps/docs/next.config.mjs index baf05d49bca..151a73426e6 100644 --- a/apps/docs/next.config.mjs +++ b/apps/docs/next.config.mjs @@ -25,6 +25,27 @@ const nextConfig = { dangerouslyAllowSVG: true, domains: ['avatars.githubusercontent.com', 'github.com', 'user-images.githubusercontent.com'], }, + async headers() { + return [ + { + source: '/(.*)', + headers: [ + { + key: 'Strict-Transport-Security', + value: '', + }, + { + key: 'X-Robots-Tag', + value: 'all', + }, + { + key: 'X-Frame-Options', + value: 'DENY', + }, + ], + }, + ] + }, } // next.config.js diff --git a/apps/docs/pages/guides/api.mdx b/apps/docs/pages/guides/api.mdx index de637e303c9..07f55536c1a 100644 --- a/apps/docs/pages/guides/api.mdx +++ b/apps/docs/pages/guides/api.mdx @@ -321,8 +321,8 @@ called `supabase_realtime`, and by managing this publication you can control whi ### Securing your Routes -Your API is designed to work with Postgres Row Level Security (RLS). If you use Supabase [Auth](/guides/auth), you can restrict data based on the logged-in user. -To control access to your data, you can use [Policies](/guides/auth#policies). +Your API is designed to work with Postgres Row Level Security (RLS). If you use Supabase [Auth](/docs/guides/auth), you can restrict data based on the logged-in user. +To control access to your data, you can use [Policies](/docs/guides/auth#policies). When you create a table in Postgres, Row Level Security is disabled by default. To enable RLS: -We now have a shiny new [Launch Week page](http://supabase.com/launch-week), your one-stop shop for all things Launch Week, where you can find each day's feature as well as highlights from the past Launch Weeks. +We now have a shiny new [Launch Week page](https://supabase.com/launch-week), your one-stop shop for all things Launch Week, where you can find each day's feature as well as highlights from the past Launch Weeks. We've taken a page out of [Vercel's Virtual Events Starter Kit](https://vercel.com/templates/next.js/virtual-event-starter-kit), and generated over 3000 virtual tickets. Thank you all for participating, we love [seeing your tickets on Twitter](https://twitter.com/hashtag/SupaLaunchWeek?src=hashtag_click&f=live)! To make this work, we've adapted the Virtual Events Starter Kit and [added in a Supabase Database provider](https://github.com/vercel/virtual-event-starter-kit/pull/88) as an alternative to the Redis database option. diff --git a/apps/www/_blog/2022-10-05-supabase-beta-update-september-2022.mdx b/apps/www/_blog/2022-10-05-supabase-beta-update-september-2022.mdx index 0c86354bfd1..2072a1f6e70 100644 --- a/apps/www/_blog/2022-10-05-supabase-beta-update-september-2022.mdx +++ b/apps/www/_blog/2022-10-05-supabase-beta-update-september-2022.mdx @@ -63,7 +63,7 @@ We're making some changes to the way the Dashboard interacts with your database. ![Migrate from Heroku to Supabase](/images/blog/2022-september/migrate-from-heroku-to-supabase.jpg) -In case you missed it, Heroku is shutting down their free tier. We're big fans of Heroku and take a lot of inspiration from what they've built. Supabase is compatible with Heroku's PostgreSQL product (because we're just Postgres too), and if you have a free project running on Heroku we've created a [tool to help migrate](http://migrate.supabase.com/) to our free tier. +In case you missed it, Heroku is shutting down their free tier. We're big fans of Heroku and take a lot of inspiration from what they've built. Supabase is compatible with Heroku's PostgreSQL product (because we're just Postgres too), and if you have a free project running on Heroku we've created a [tool to help migrate](https://migrate.supabase.com/) to our free tier. ## Made with Supabase