diff --git a/docker-compose.yml b/docker-compose.yml index c4b6f168..eec30216 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,6 +8,7 @@ services: - GOOGLE_KEY=${GOOGLE_KEY} - AWS_ACCESS_KEY=${AWS_ACCESS_KEY} - AWS_SECRET_KEY=${AWS_SECRET_KEY} + restart: unless-stopped volumes: - ./google.json:/app/google.json frontend: @@ -16,5 +17,6 @@ services: - NODE_ENV=production ports: - "8585:80" + restart: unless-stopped depends_on: - backend diff --git a/public/favicon.ico b/public/favicon.ico index a11777cc..56d2f9e2 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/server/index.js b/server/index.js index 69cc8e05..e068b056 100644 --- a/server/index.js +++ b/server/index.js @@ -1,7 +1,7 @@ import express from "express"; import cors from "cors"; -import morgan from "morgan"; // Import morgan -import rateLimit from "express-rate-limit"; // Import express-rate-limit +import morgan from "morgan"; +import rateLimit from "express-rate-limit"; import { getTextGemini } from "./gemini.js"; import { getImageTitan } from "./aws.js"; diff --git a/src/App.js b/src/App.js index 95488775..3123aff0 100644 --- a/src/App.js +++ b/src/App.js @@ -66,7 +66,7 @@ function App() { }; return ( - + {chatHistory.map((chat, index) => (