Skip to content

Commit

Permalink
[FEAT] 이미지 baseURL 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
boeunLee committed Jun 4, 2024
1 parent c0658f8 commit dcecd5f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/MagazineImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ import Slider from 'react-slick';
import 'slick-carousel/slick/slick.css';
import 'slick-carousel/slick/slick-theme.css';

const baseURL = import.meta.env.VITE_IMAGE_URL;
const baseURL = 'https://s3.ap-northeast-2.amazonaws.com/dev.statics.team-gam-api.com/work/';

const MagazineImage = ({ magazinePhotos }: { magazinePhotos: string[] }) => {
const settings = {
dots: true,
arrows: false,
};

console.log(baseURL, magazinePhotos);

return (
<St.MagazineImages>
<Slider {...settings}>
Expand Down

0 comments on commit dcecd5f

Please sign in to comment.