Skip to content

Commit 222ee85

Browse files
committed
Fix: proxy url 배포 url로 수정
2 parents 5f4634d + 405df36 commit 222ee85

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

components/Link/AddLinkInput.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ const AddLinkInput = ({ folderList }: FolderListData) => {
3535
};
3636

3737
return (
38-
<div className="flex bg-white items-center w-full lg:max-w-[800px] md:max-w-[704px] sm:max-w-[325px] h-[69px] lg:px-5 md:px-5 sm:px-[10px] border border-blue-500 rounded-[10px] md:w-[704px] sm:w-[325px] sm:h-[53px] transition-all">
38+
<div className="flex bg-white justify-between items-center w-full lg:max-w-[800px] md:max-w-[704px] sm:max-w-[325px] h-[69px] lg:px-5 md:px-5 sm:px-[10px] border border-blue-500 rounded-[10px] md:w-[704px] sm:w-[325px] sm:h-[53px] transition-all">
3939
<Image src="/icons/link.svg" width={20} height={20} alt="link icon" />
4040
<input
4141
onChange={handleChange}
4242
onKeyDown={handleKeyDown}
4343
value={link}
4444
placeholder="링크를 추가해 보세요."
45-
className="flex-grow lg:ml-3 md:ml-3 sm:ml-[8px]"
45+
className="lg:ml-3 md:ml-3 sm:ml-[8px]"
4646
/>
4747
<SubmitButton
4848
onClick={handleClick}

lib/api/axiosInstanceApi.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import axios from "axios";
22

33
const axiosInstance = axios.create({
4-
baseURL: process.env.NEXT_PUBLIC_API_URL || "http://localhost:3000",
4+
baseURL: process.env.NEXT_PUBLIC_API_URL || "/",
55
});
66

77
export const proxy = axios.create({
8-
// 배포 이후에는 배포된 URL로 변경해야 함.gi
9-
baseURL: "https://linkbrary-9-99.vercel.app/",
8+
// 배포 이후에는 배포된 URL로 변경해야 함.
9+
baseURL: "https://linkbrary-9-99.vercel.app",
1010
});
1111

1212
proxy.interceptors.response.use(

pages/_app.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,17 @@ export default function App({ Component, pageProps }: AppProps) {
1414
<>
1515
<Head>
1616
<meta property="og:type" content="website" />
17-
{/* <meta property="og:url" content="https://linkbrary.app" /> 배포 후 실제 도메인으로 변경 필요 */}
17+
<meta property="og:url" content="https://linkbrary-9-99.vercel.app/" />
1818
<meta property="og:title" content="Linkbrary" />
1919
<meta
2020
property="og:description"
2121
content="나만의 링크를 관리하는 Linkbrary"
2222
/>
2323
<meta property="og:image" content="/images/home_main.png" />
24+
<meta
25+
name="viewport"
26+
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
27+
/>
2428
<title>Linkbrary</title>
2529
</Head>
2630

0 commit comments

Comments
 (0)