Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
msveshnikov committed Mar 17, 2024
1 parent 8fed1be commit 5874e16
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -16,5 +17,6 @@ services:
- NODE_ENV=production
ports:
- "8585:80"
restart: unless-stopped
depends_on:
- backend
Binary file modified public/favicon.ico
Binary file not shown.
4 changes: 2 additions & 2 deletions server/index.js
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function App() {
};

return (
<Container maxWidth="md" style={{ display: "flex", flexDirection: "column", height: "95vh" }}>
<Container maxWidth="md" style={{ display: "flex", flexDirection: "column", height: "92vh" }}>
<Box flex={1} overflow="auto" padding={2} display="flex" flexDirection="column" ref={chatContainerRef}>
{chatHistory.map((chat, index) => (
<Box key={index} display="flex" flexDirection="column" marginBottom={2}>
Expand Down

0 comments on commit 5874e16

Please sign in to comment.