diff --git a/public/favicon.ico b/public/favicon.ico index 7834c11..5bd440c 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/src/util/error/ErrorHandler.ts b/src/util/error/ErrorHandler.ts index a34e228..db44489 100644 --- a/src/util/error/ErrorHandler.ts +++ b/src/util/error/ErrorHandler.ts @@ -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: diff --git a/webpack.common.js b/webpack.common.js index 4280405..4e01a91 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -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",