From 594e903fe4835d1595d353eacb5874046c8ac317 Mon Sep 17 00:00:00 2001 From: Max Leiter Date: Sun, 20 Mar 2022 23:30:50 -0700 Subject: [PATCH] README: update disclaimer on current status for production use --- README.md | 2 +- client/components/auth/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e5b42585..74a7f5cd 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ You can run `yarn dev` in either / both folders to start the server and client w ### Production -**Note: Drift is not yet ready for production usage and should not be used seriously until the database has been setup, which I'll get to when the server API is semi stable.** +**Note: Drift is not yet ready for production usage and should not be used too seriously. I'll make every effort to not lose data, but I won't make any guarantees until the project is further along.** `yarn build` in both `client/` and `server/` will produce production code for the client and server respectively. The client and server each also have Dockerfiles which you can use with a docker-compose (an example compose will be provided in the near future). diff --git a/client/components/auth/index.tsx b/client/components/auth/index.tsx index c43111d8..43b1d28f 100644 --- a/client/components/auth/index.tsx +++ b/client/components/auth/index.tsx @@ -26,7 +26,7 @@ const Auth = ({ page }: { page: "signup" | "signin" }) => { }) if (resp.ok) { const res = await resp.json() - setRequiresServerPassword(res) + setRequiresServerPassword(res.requiresPasscode) } else { setErrorMsg("Something went wrong.") }