readme update

This commit is contained in:
2025-11-17 14:30:32 +03:00
parent 947bd4c1dd
commit 83321ae731
2 changed files with 6 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
This document describes how the imgPub application converts page photos into a final EPUB book. It covers the frontend wizard, the Node.js backend that performs EPUB generation, and the most important implementation details so new contributors can extend the project confidently. This document describes how the imgPub application converts page photos into a final EPUB book. It covers the frontend wizard, the Node.js backend that performs EPUB generation, and the most important implementation details so new contributors can extend the project confidently.
## 1. Stack Summary ## 1. Stack Summarys
| Layer | Technology | Notes | | Layer | Technology | Notes |
| --- | --- | --- | | --- | --- | --- |

View File

@@ -141,6 +141,8 @@ const AuthPage = ({ mode }) => {
} }
}; };
const GOOGLE_REDIRECT_URL = import.meta.env.VITE_GOOGLE_REDIRECT_URL || window.location.origin;
const handleGoogleSignIn = async () => { const handleGoogleSignIn = async () => {
setFormError(null); setFormError(null);
setFormMessage(null); setFormMessage(null);
@@ -153,7 +155,7 @@ const AuthPage = ({ mode }) => {
const { error } = await supabaseClient.auth.signInWithOAuth({ const { error } = await supabaseClient.auth.signInWithOAuth({
provider: 'google', provider: 'google',
options: { options: {
redirectTo: window.location.origin, redirectTo: GOOGLE_REDIRECT_URL,
}, },
}); });
if (error) throw error; if (error) throw error;
@@ -198,7 +200,7 @@ const AuthPage = ({ mode }) => {
fontSize: { xs: '1.35rem', md: '1.6rem' }, fontSize: { xs: '1.35rem', md: '1.6rem' },
}} }}
> >
imagepub imagepubs
</Typography> </Typography>
<Typography variant="overline" sx={{ color: '#B5AD9A', letterSpacing: 2 }}> <Typography variant="overline" sx={{ color: '#B5AD9A', letterSpacing: 2 }}>
{variant.eyebrow} {variant.eyebrow}