Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const nextConfig: NextConfig = {
async rewrites() {
return [
{
source: '/api/:path*', // 프론트엔드 요청 경로
source: '/:path*', // 프론트엔드 요청 경로
destination: 'http://www.picknee.co.kr:8080/:path*', // 백엔드 API 경로
},
];
Expand Down
2 changes: 1 addition & 1 deletion src/lib/axios.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import axios from "axios"
import Cookies from 'js-cookie';

const API_V1_BASE = '/api/'
const API_V1_BASE = '/'

const axiosInstance = axios.create({
baseURL: API_V1_BASE,
Expand Down
Loading