Skip to content

Commit 8369ccd

Browse files
committed
refactor: S3 호스팅을 위한 remotePatterns의 호스트 이름을 환경 변수에서 고정된 값으로 변경
1 parent 1708d4a commit 8369ccd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

next.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ const nextConfig: NextConfig = {
1616
remotePatterns: [
1717
{
1818
protocol: "https",
19-
hostname: process.env.S3_DEV_BUCKET_HOSTNAME!,
19+
hostname: "eatda-storage-dev.s3.ap-northeast-2.amazonaws.com",
2020
port: "",
2121
pathname: "/**",
2222
},
2323
{
2424
protocol: "https",
25-
hostname: process.env.S3_PROD_BUCKET_HOSTNAME!,
25+
hostname: "eatda-storage-prod.s3.ap-northeast-2.amazonaws.com",
2626
port: "",
2727
pathname: "/**",
2828
},

0 commit comments

Comments
 (0)