From 57432715035c114b8e8244a650b3bc11813e29d8 Mon Sep 17 00:00:00 2001 From: Liam Date: Thu, 17 Nov 2022 05:58:42 +0000 Subject: [PATCH] Add public domain to allowed list --- next.config.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/next.config.js b/next.config.js index 65f6d4c..b78ca75 100644 --- a/next.config.js +++ b/next.config.js @@ -10,7 +10,11 @@ const nextConfig = { { protocol: "http", hostname: "localhost", - port: "3000", + pathname: "/api/files/**", + }, + { + protocol: "http", + hostname: process.env.NEXT_PUBLIC_SITE_URL, pathname: "/api/files/**", }, ],