Compare commits
2 Commits
708a6280d6
...
f60002d98e
Author | SHA1 | Date | |
---|---|---|---|
f60002d98e | |||
![]() |
6d5e950918 |
@ -182,10 +182,13 @@ app.include_router(
|
||||
)
|
||||
|
||||
# Include OAuth routes
|
||||
app.include_router(oauth_router, prefix="/auth", tags=["auth"])
|
||||
# app.include_router(oauth_router, prefix="/auth", tags=["auth"])
|
||||
|
||||
# Include your API router
|
||||
app.include_router(api_router, prefix=settings.API_PREFIX)
|
||||
|
||||
# Include OAuth routes under the main API prefix
|
||||
app.include_router(oauth_router, prefix=f"{settings.API_PREFIX}/auth", tags=["auth"])
|
||||
# --- End Include API Routers ---
|
||||
|
||||
# Health check endpoint
|
||||
|
@ -39,7 +39,7 @@ import { useRouter } from 'vue-router';
|
||||
const router = useRouter();
|
||||
|
||||
const handleGoogleLogin = () => {
|
||||
window.location.href = '/auth/google/login';
|
||||
window.location.href = '/api/v1/auth/google/login';
|
||||
};
|
||||
|
||||
const handleAppleLogin = () => {
|
||||
|
Loading…
Reference in New Issue
Block a user