Using more pydantic features in the backend and fixing env issues on the website

This commit is contained in:
Keith Stevens
2023-01-28 19:35:40 +09:00
parent 3dc8ff6ddd
commit 3197b6088b
4 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ import useSWR from "swr";
const Dashboard = () => {
// Adding a demonstrative call to the backend that includes the web's JWT.
useSWR(`${process.env.FASTAPI_URL}/api/v1/auth/check`, get);
useSWR(`${process.env.NEXT_PUBLIC_BACKEND_URL}/api/v1/auth/check`, get);
const {
t,