Skip to content

Commit

Permalink
s3 이미지 렌더링 오류 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
ipcgrdn committed Dec 22, 2024
1 parent 5d30136 commit 93b238b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
16 changes: 11 additions & 5 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'standalone',
images: {
formats: ['image/avif', 'image/webp'],
},
output: "standalone",
images: {
formats: ["image/avif", "image/webp"],
remotePatterns: [
{
protocol: "https",
hostname: "soundflyer.s3.ap-northeast-2.amazonaws.com",
pathname: "/resources/images/**",
},
],
},
};

export default nextConfig;

3 changes: 0 additions & 3 deletions src/services/albumService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ export const getAllAlbums = async (
pageSize,
},
});

console.log(response.data);

return response.data;
} catch (error) {
if (axios.isAxiosError(error)) {
Expand Down

0 comments on commit 93b238b

Please sign in to comment.