Skip to content

Commit

Permalink
chore: 배포 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
bottlewook committed Jan 25, 2024
1 parent 06cdc14 commit ca2f911
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ module.exports = {
sassOptions: {
includePaths: [path.join(__dirname, 'styles')],
},
async rewrites() {
return [
{
source: "/:path*",
destination: `${process.env.NEXT_PUBLIC_BASE_URL}/:path*`,
},
];
},
// async rewrites() {
// return [
// {
// source: "/:path*",
// destination: `${process.env.NEXT_PUBLIC_BASE_URL}/:path*`,
// },
// ];
// },
webpack: (config, context) => {
if (context?.isServer) {
if (Array.isArray(config.resolve.alias)) {
Expand Down
4 changes: 2 additions & 2 deletions src/remote/api/instance.api.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import axios, { Axios } from 'axios';

export const axiosInstance: Axios = axios.create({
// baseURL: process.env.NEXT_PUBLIC_BASE_URL,
baseURL: '',
baseURL: process.env.NEXT_PUBLIC_BASE_URL,
// baseURL: '',
withCredentials: true,
headers: {
'Content-Type': 'application/json',
Expand Down

0 comments on commit ca2f911

Please sign in to comment.