Skip to content

Commit

Permalink
fix :: 로그인 예외처리조건, 웹상단 아이콘
Browse files Browse the repository at this point in the history
로그인 예외처리, 웹 상단 아이콘 변경
  • Loading branch information
ftery0 authored Jun 4, 2024
2 parents 98f6027 + 3592995 commit e5d4e13
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Binary file modified public/favicon.ico
Binary file not shown.
4 changes: 2 additions & 2 deletions src/util/error/ErrorHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import { AxiosError } from "axios";
class ErrorHandler {
loginError = (status: number) => {
switch (status) {
case 401:
return "잘못된 비밀번호입니다";
case 404:
return "존재하지 않는 멤버입니다.";
case 403:
return "잘못된 비밀번호입니다.";
case 500:
return "서버 오류가 발생하였습니다.";
default:
Expand Down
1 change: 1 addition & 0 deletions webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ module.exports = {
new HtmlWebpackPlugin({
template: path.resolve(__dirname, "public", "index.html"),
hash: true,
favicon: path.resolve(__dirname, "public", "favicon.ico"),
}),
new webpack.ProvidePlugin({
process: "process/browser",
Expand Down

0 comments on commit e5d4e13

Please sign in to comment.