Fix review findings and remove Uncategorized from sidebar
Backend: cache Google access tokens (drop dead access_token_expires_at, migration 0007), handle MeTube cleared/canceled events by URL, return email from /auth/status only when authenticated, move Google base URLs into settings, run container as non-root. Frontend: include local feed filters in the query key, remove dead Saved page and unused assets, drop stale CategoryNav props and classes, send Content-Type only with a body, remove Uncategorized from sidebar.
This commit is contained in:
parent
6c704cac97
commit
fde9a439df
25 changed files with 420 additions and 174 deletions
|
|
@ -12,6 +12,14 @@ GOOGLE_CLIENT_SECRET=
|
|||
GOOGLE_REDIRECT_URI=https://testmyyoutube.vrubel.xyz/api/auth/google/callback
|
||||
ALLOWED_GOOGLE_EMAIL=
|
||||
|
||||
# Google/YouTube endpoints (необязательно, есть дефолты)
|
||||
GOOGLE_AUTH_URI=https://accounts.google.com/o/oauth2/auth
|
||||
GOOGLE_TOKEN_URI=https://oauth2.googleapis.com/token
|
||||
GOOGLE_USERINFO_URI=https://www.googleapis.com/oauth2/v3/userinfo
|
||||
GOOGLE_REVOKE_URI=https://oauth2.googleapis.com/revoke
|
||||
YOUTUBE_API_BASE_URL=https://www.googleapis.com/youtube/v3
|
||||
YOUTUBE_WATCH_URL_TEMPLATE=https://www.youtube.com/watch?v={video_id}
|
||||
|
||||
METUBE_API_BASE_URL=http://192.168.8.177:8081
|
||||
METUBE_PUBLIC_BASE_URL=http://192.168.8.177:8081
|
||||
METUBE_CONTAINER_DOWNLOAD_DIR=/downloads
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue