safe.b68dev.xyz/controllers/utils
Bobby b35f4ae6eb
fix: remove token from local storage if invalid
this required expanding our custom error classes with support for
arbitrary internal api error codes

however it'll only be used for invalid token errors for now (10001)

no plan to assign codes to other existing api errors
at that point it's probably better to redo the whole api infrastructure
2022-05-06 21:58:23 +07:00
..
ClientError.js fix: remove token from local storage if invalid 2022-05-06 21:58:23 +07:00
ServerError.js fix: remove token from local storage if invalid 2022-05-06 21:58:23 +07:00
multerStorage.js feat: some bypass support to passthrough scanning 2022-04-23 04:44:01 +07:00