diff --git a/code/backend/src/middleware/uploadMultiple.ts b/code/backend/src/middleware/uploadMultiple.ts index 9f77e67..fd6f7fc 100644 --- a/code/backend/src/middleware/uploadMultiple.ts +++ b/code/backend/src/middleware/uploadMultiple.ts @@ -5,7 +5,7 @@ import { Request, Response, NextFunction } from "express"; // Configure multer to store files in memory const multerInstance = multer({ storage: multer.memoryStorage(), - limits: { fileSize: 5 * 1024 * 1024 }, // Limit file size to 5 MB + limits: { fileSize: 30 * 1024 * 1024 }, // Limit file size to 30 MB }); export const upload = (req: Request, res: Response, next: NextFunction) => { diff --git a/code/backend/src/middleware/uploadSingle.ts b/code/backend/src/middleware/uploadSingle.ts index d652239..900a70f 100644 --- a/code/backend/src/middleware/uploadSingle.ts +++ b/code/backend/src/middleware/uploadSingle.ts @@ -4,7 +4,7 @@ import { StatusCodes } from "http-status-codes"; const multerInstance = multer({ storage: multer.memoryStorage(), - limits: { fileSize: 5 * 1024 * 1024 }, // 5 MB + limits: { fileSize: 30 * 1024 * 1024 }, // 30 MB }); export const upload = (req: Request, res: Response, next: NextFunction) => { diff --git a/code/db/docker-compose.yaml b/code/db/docker-compose.yaml index c8ecee6..8df3ba8 100644 --- a/code/db/docker-compose.yaml +++ b/code/db/docker-compose.yaml @@ -11,7 +11,7 @@ services: volumes: - pgdata:/var/lib/postgresql/data healthcheck: - test: ["CMD", "pg_isready", "-U", "postgres"] + test: ["CMD", "pg_isready", "-U", "${DB_USER}"] interval: 5s timeout: 3s retries: 5 diff --git a/code/frontend/public/assets/images/flapp.png b/code/frontend/public/assets/images/flapp.png new file mode 100644 index 0000000..1bd04e3 Binary files /dev/null and b/code/frontend/public/assets/images/flapp.png differ diff --git a/code/frontend/public/assets/images/flipp.png b/code/frontend/public/assets/images/flipp.png new file mode 100644 index 0000000..93a1f75 Binary files /dev/null and b/code/frontend/public/assets/images/flipp.png differ diff --git a/code/frontend/public/assets/images/logoWithoutStick.png b/code/frontend/public/assets/images/logoWithoutStick.png new file mode 100644 index 0000000..010d093 Binary files /dev/null and b/code/frontend/public/assets/images/logoWithoutStick.png differ diff --git a/code/frontend/src/App.css b/code/frontend/src/App.css index ee84f1a..4ca3a35 100644 --- a/code/frontend/src/App.css +++ b/code/frontend/src/App.css @@ -1,6 +1,6 @@ .App { text-align: center; - min-height: 100vh; + min-height: calc(100vh - var(--header-height)); } .App-logo { diff --git a/code/frontend/src/App.tsx b/code/frontend/src/App.tsx index 59bc2d1..10feec5 100644 --- a/code/frontend/src/App.tsx +++ b/code/frontend/src/App.tsx @@ -8,32 +8,31 @@ import Header from "./components/Header"; import Profile from "./pages/Profile"; import { BrowserRouter as Router, Routes, Route } from "react-router-dom"; import { Auth } from "./api/Auth"; - - - +import { NotFound } from "./pages/404Page/NotFoundPage"; function App() { - return ( - - -
-
- - } - > - } - > - }> - -
-
-
- ); + return ( + + +
+
+ + } /> + } + > + } + > + }> + +
+