Skip to content

Commit

Permalink
chore/미리보기 페이지 api url 환경변수로 교체 (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
jizerozz committed Oct 23, 2024
1 parent 63488f5 commit 9a51e5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/PreviewPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const PreviewPage = () => {
const handleSubmit = async () => {
try {
await axios.post(
'http://nubble-backend-eb-1-env.eba-f5sb82hp.ap-northeast-2.elasticbeanstalk.com/posts',
`${import.meta.env.VITE_NUBBLE_SERVER}/posts`,
{
title: markdownTitle,
content: markdownContent,
Expand Down

0 comments on commit 9a51e5d

Please sign in to comment.