aboutsummaryrefslogtreecommitdiffstats
path: root/next.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'next.config.js')
-rw-r--r--next.config.js13
1 files changed, 12 insertions, 1 deletions
diff --git a/next.config.js b/next.config.js
index 767719f..6d6b0c3 100644
--- a/next.config.js
+++ b/next.config.js
@@ -1,4 +1,15 @@
/** @type {import('next').NextConfig} */
-const nextConfig = {}
+const nextConfig = {
+ images: {
+ remotePatterns:
+ process.env.S3_UPLOAD_BUCKET && process.env.S3_UPLOAD_REGION
+ ? [
+ {
+ hostname: `${process.env.S3_UPLOAD_BUCKET}.s3.${process.env.S3_UPLOAD_REGION}.amazonaws.com`,
+ },
+ ]
+ : [],
+ },
+}
module.exports = nextConfig