Skip to content

Commit

Permalink
Image (#268)
Browse files Browse the repository at this point in the history
  • Loading branch information
beming-dev authored Jan 11, 2025
2 parents 3be0ef4 + ec5f825 commit 12a43c1
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,9 @@ node_modules
.next
.git
Dockerfile
README.md
README.md

# 환경 파일
.env
.env.local
.env.*.local
16 changes: 15 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @type {import('next').NextConfig} */
// eslint-disable-next-line @typescript-eslint/no-var-requires

const isProduction = process.env.NODE_ENV === "production"
const isProduction = process.env.NODE_ENV === "production";
// eslint-disable-next-line @typescript-eslint/no-var-requires
const withPWA = require("next-pwa")({
dest: "public",
Expand All @@ -16,38 +16,52 @@ const baseNextConfig = {
{
protocol: "https",
hostname: "studyabout.s3.ap-northeast-2.amazonaws.com",
pathname: "/**", // 모든 경로 허용
},
{
protocol: "https",
hostname: "localhost:3000",
pathname: "/**", // 모든 경로 허용
},
{
protocol: "https",
hostname: "user-images.githubusercontent.com",
pathname: "/**", // 모든 경로 허용
},
{
protocol: "https",
hostname: "p.kakaocdn.net",
pathname: "/**", // 모든 경로 허용
},
{
protocol: "http",
hostname: "p.kakaocdn.net",
pathname: "/**", // 모든 경로 허용
},
{
protocol: "https",
hostname: "k.kakaocdn.net",
pathname: "/**", // 모든 경로 허용
},
{
protocol: "http",
hostname: "k.kakaocdn.net",
pathname: "/**", // 모든 경로 허용
},
{
protocol: "http",
hostname: "t1.kakaocdn.net",
pathname: "/**", // 모든 경로 허용
},
{
protocol: "http",
hostname: "img1.kakaocdn.net",
pathname: "/**", // 모든 경로 허용
},
{
protocol: "https",
hostname: "*.cloudfront.net",
pathname: "/**", // 모든 경로 허용
},
],
deviceSizes: [320, 420, 768, 1024, 1200, 1600, 1920],
Expand Down

0 comments on commit 12a43c1

Please sign in to comment.