From b33b016dbff9bcb96f48091f5d21293300e04499 Mon Sep 17 00:00:00 2001 From: Hassan El Mghari Date: Mon, 6 Mar 2023 15:55:38 -0500 Subject: [PATCH] added redirects to github and vercel as url shortcuts --- next.config.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/next.config.js b/next.config.js index 65534478..e11c20a3 100644 --- a/next.config.js +++ b/next.config.js @@ -4,4 +4,18 @@ module.exports = { images: { domains: ["upcdn.io", "replicate.delivery"], }, + async redirects() { + return [ + { + source: "/github", + destination: "https://github.com/Nutlope/roomGPT", + permanent: false, + }, + { + source: "/deploy", + destination: "https://vercel.com/templates/next.js/room-GPT", + permanent: false, + }, + ]; + }, };