Skip to content

Commit

Permalink
chore : vercel.json 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
iamphj3 committed May 30, 2023
1 parent df9c5e4 commit 0c180b0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Promise/Invite.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ const Invite = () => {
<InvitePic />
</StImgWrapper>
<StCopyLink>
<p>{`http://localhost:5173/invitation/${promiseId}`}</p>
<p>{`https://assemble-fe.vercel.app/${promiseId}`}</p>
<>
<CopyToClipboard
text={`http://localhost:5173/invitation/${promiseId}`}
text={`https://assemble-fe.vercel.app/${promiseId}`}
onCopy={() => alert('주소가 복사되었습니다')}
>
<button>복사</button>
Expand Down
3 changes: 3 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"rewrites": [{ "source": "/(.*)", "destination": "/" }]
}

1 comment on commit 0c180b0

@vercel
Copy link

@vercel vercel bot commented on 0c180b0 May 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

assemble-fe – ./

assemble-fe-git-main-ohouse-sopt.vercel.app
assemble-fe.vercel.app
assemble-fe-ohouse-sopt.vercel.app

Please sign in to comment.