From 0a05c468cfd534cf6cd8aeb3d931952ee0847598 Mon Sep 17 00:00:00 2001 From: Paul Copplestone Date: Mon, 15 Mar 2021 16:58:19 +0800 Subject: [PATCH 1/2] Add deny headers to next config --- www/next.config.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/www/next.config.js b/www/next.config.js index fea23554d87..1fea6776b85 100644 --- a/www/next.config.js +++ b/www/next.config.js @@ -1,3 +1,16 @@ module.exports = { basePath: '/new', + async headers() { + return [ + { + source: '/(.*?)', + headers: [ + { + key: 'X-Frame-Options', + value: 'DENY', + }, + ], + }, + ] + }, } From e412d7aa9d511fa69ac5e1a42973f768fe07df51 Mon Sep 17 00:00:00 2001 From: Copple <10214025+kiwicopple@users.noreply.github.com> Date: Mon, 15 Mar 2021 17:11:25 +0800 Subject: [PATCH 2/2] Adds some support links --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b64179334ec..b77f80dd0ac 100644 --- a/README.md +++ b/README.md @@ -23,11 +23,11 @@ For full documentation, visit [supabase.io/docs](https://supabase.io/docs) -## Community +## Community & Support -For help, discussion about best practices, or any other conversation that would benefit from being searchable: - -[Discuss Supabase on GitHub](https://github.com/supabase/supabase/discussions) +- [Community Forum](https://github.com/supabase/supabase/discussions). Best for: help with building, discussion about database best practices. +- [GitHub Issues](https://github.com/supabase/supabase/issues). Best for: bugs and errors you encounter using Supabase. +- [Email Support](https://supabase.io/docs/support#business-support). Best for: problems with your database or infrastructure. ## Status