Skip to content

Commit

Permalink
Merge pull request #149 from Yanolza-Miniproject/fix/api
Browse files Browse the repository at this point in the history
배포 테스트
  • Loading branch information
2YH02 authored Nov 30, 2023
2 parents 9565320 + 2c44e13 commit d4ffb12
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions src/api/Auth/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export const useLogin = () => {
const mutation = useMutation({
mutationFn: (data: SignInInputs) => fetchSignin(data),
onSuccess: (data) => {
console.log(data);
setSessionStorage(data.accessToken, data.refreshToken);
setUserData((prev) => ({
...prev,
Expand Down
18 changes: 9 additions & 9 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ export default defineConfig({
},
},
},
build: {
minify: "terser",
terserOptions: {
compress: {
drop_console: true,
drop_debugger: true,
},
},
},
// build: {
// minify: "terser",
// terserOptions: {
// compress: {
// drop_console: true,
// drop_debugger: true,
// },
// },
// },
});

0 comments on commit d4ffb12

Please sign in to comment.