Skip to content

Commit

Permalink
Merge pull request #81 from KMU-WINK/feature/76-card-onclick
Browse files Browse the repository at this point in the history
Feature: next config 이미지 도메인 설정
  • Loading branch information
JisuuungKim authored Aug 25, 2024
2 parents 2c0f043 + 5122058 commit 5d586b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions frontend/next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
// 이미지 도메인 설정 추가
images: {
domains: ['tong.visitkorea.or.kr'],
},

webpack(config) {
config.module.rules.push({
test: /\.svg$/,
Expand Down
1 change: 1 addition & 0 deletions frontend/src/components/Card/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ export default function Card({
}
width={serviceType === 'default' ? 0 : 80}
height={serviceType === 'default' ? 0 : 80}
unoptimized
/>
</ImageSection>
<Content $cardType={cardType}>
Expand Down

0 comments on commit 5d586b9

Please sign in to comment.