readme update
This commit is contained in:
@@ -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.
|
||||
|
||||
## 1. Stack Summary
|
||||
## 1. Stack Summarys
|
||||
|
||||
| Layer | Technology | Notes |
|
||||
| --- | --- | --- |
|
||||
|
||||
@@ -141,6 +141,8 @@ const AuthPage = ({ mode }) => {
|
||||
}
|
||||
};
|
||||
|
||||
const GOOGLE_REDIRECT_URL = import.meta.env.VITE_GOOGLE_REDIRECT_URL || window.location.origin;
|
||||
|
||||
const handleGoogleSignIn = async () => {
|
||||
setFormError(null);
|
||||
setFormMessage(null);
|
||||
@@ -153,7 +155,7 @@ const AuthPage = ({ mode }) => {
|
||||
const { error } = await supabaseClient.auth.signInWithOAuth({
|
||||
provider: 'google',
|
||||
options: {
|
||||
redirectTo: window.location.origin,
|
||||
redirectTo: GOOGLE_REDIRECT_URL,
|
||||
},
|
||||
});
|
||||
if (error) throw error;
|
||||
@@ -198,7 +200,7 @@ const AuthPage = ({ mode }) => {
|
||||
fontSize: { xs: '1.35rem', md: '1.6rem' },
|
||||
}}
|
||||
>
|
||||
imagepub
|
||||
imagepubs
|
||||
</Typography>
|
||||
<Typography variant="overline" sx={{ color: '#B5AD9A', letterSpacing: 2 }}>
|
||||
{variant.eyebrow}
|
||||
|
||||
Reference in New Issue
Block a user