Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ RUN apk add --no-cache curl
WORKDIR /app
COPY --from=builder /app/fluently-backend .
COPY --from=builder /app/docs ./docs
# Copy static files
COPY --from=builder /app/internal/static/auth-success.html /app/static/auth-success.html

# Create a simple startup script that handles environment setup
RUN echo '#!/bin/sh' > /app/start.sh && \
Expand Down
20 changes: 20 additions & 0 deletions backend/internal/static/auth-success.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Authentication Successful!</title>
<style>
body { font-family: Arial, sans-serif; text-align: center; margin-top: 10vh; }
.success { color: #4CAF50; font-size: 2em; margin-bottom: 1em; }
.info { color: #333; margin-bottom: 2em; }
.loader { margin: 2em auto; border: 8px solid #f3f3f3; border-top: 8px solid #4CAF50; border-radius: 50%; width: 60px; height: 60px; animation: spin 1s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }
</style>
</head>
<body>
<div class="success">✅ Authentication Successful!</div>
<div class="info">You've successfully signed in with your Google account.<br>Your account is now connected to the Fluently Word Learner extension.</div>
<div class="loader"></div>
<div class="info">You may now close this tab and return to the extension.</div>
</body>
</html>