From 69c88cd1fd1aa104ccbd8e3ab0bbb9644e5ddd95 Mon Sep 17 00:00:00 2001 From: Copple <10214025+kiwicopple@users.noreply.github.com> Date: Tue, 7 Jun 2022 21:30:49 +1000 Subject: [PATCH] Adds instructions for adding redirects. --- DEVELOPERS.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/DEVELOPERS.md b/DEVELOPERS.md index 5d52ce97bb1..e92a19bdc45 100644 --- a/DEVELOPERS.md +++ b/DEVELOPERS.md @@ -14,6 +14,8 @@ - [Shared components](#shared-components) - [Installing packages](#installing-packages) - [Development](#development) +- [Common Tasks](#common-tasks) + - [Adding redirects](#adding-redirects) - [Finally](#finally) - [Community Channels](#community-channels) @@ -211,6 +213,12 @@ You do not need to install `devDependencies` in each workspace. These can all be `npm run dev` +## Common Tasks + +### Adding Redirects + +To add a redirect, simple create a new entry in the [`next.config.js`](https://github.com/supabase/supabase/blob/master/apps/www/next.config.js) file in our main site. + ## Finally After making your changes to the file(s) you'd like to update, it's time to open a pull request. Once you submit your pull request, others from the Supabase team/community will review it with you.