Skip to content

Commit

Permalink
chore(root): api base url 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
rlaisqls committed Aug 21, 2023
1 parent 22ff3e0 commit 0692a85
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion services/apply/.env.development
Original file line number Diff line number Diff line change
@@ -1 +1 @@
NEXT_PUBLIC_API_BASE_URL=https://api.xquare.app
NEXT_PUBLIC_API_BASE_URL=https://prod-server.xquare.app
2 changes: 1 addition & 1 deletion services/apply/.env.production
Original file line number Diff line number Diff line change
@@ -1 +1 @@
NEXT_PUBLIC_API_BASE_URL=https://api.xquare.app
NEXT_PUBLIC_API_BASE_URL=https://prod-server.xquare.app
2 changes: 1 addition & 1 deletion services/dormitory-admin/.env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
NEXT_PUBLIC_API_BASE_URL=https://api.xquare.app
NEXT_PUBLIC_API_BASE_URL=https://prod-server.xquare.app
2 changes: 1 addition & 1 deletion services/dormitory-admin/.env.development
Original file line number Diff line number Diff line change
@@ -1 +1 @@
NEXT_PUBLIC_API_BASE_URL=https://stag-api.xquare.app
NEXT_PUBLIC_API_BASE_URL=https://stag-prod-server.xquare.app
2 changes: 1 addition & 1 deletion services/dormitory-admin/.env.production
Original file line number Diff line number Diff line change
@@ -1 +1 @@
NEXT_PUBLIC_API_BASE_URL=https://api.xquare.app
NEXT_PUBLIC_API_BASE_URL=https://prod-server.xquare.app
2 changes: 1 addition & 1 deletion services/feed/.env.development
Original file line number Diff line number Diff line change
@@ -1 +1 @@
NEXT_PUBLIC_API_BASE_URL=https://stag-api.xquare.app
NEXT_PUBLIC_API_BASE_URL=https://stag-prod-server.xquare.app
2 changes: 1 addition & 1 deletion services/feed/.env.production
Original file line number Diff line number Diff line change
@@ -1 +1 @@
NEXT_PUBLIC_API_BASE_URL=https://api.xquare.app
NEXT_PUBLIC_API_BASE_URL=https://prod-server.xquare.app
2 changes: 1 addition & 1 deletion services/school-meal/.env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
NEXT_PUBLIC_API_BASE_URL=https://api.xquare.app
NEXT_PUBLIC_API_BASE_URL=https://prod-server.xquare.app
4 changes: 2 additions & 2 deletions services/signup/src/apis/signup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ export const postSignup = async ({
const outingSignup = await axios.post(
`${
process.env.NODE_ENV === 'development'
? 'https://stag-api.xquare.app'
: 'https://api.xquare.app'
? 'https://stag-server.xquare.app'
: 'https://prod-server.xquare.app'
}/users`,
{
verification_code,
Expand Down
2 changes: 1 addition & 1 deletion services/today-director/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const Home: NextPage<{ todayDirectorData: DirectorDataType }> = ({ todayDirector

export const getServerSideProps: GetServerSideProps = async () => {
const todayDirectorData = (
await axios.get<DirectorDataType>('https://api.xquare.app//pick/self-study/today')
await axios.get<DirectorDataType>('https://prod-server.xquare.app//pick/self-study/today')
).data;
console.log(todayDirectorData);
return { props: { todayDirectorData } };
Expand Down

0 comments on commit 0692a85

Please sign in to comment.