diff --git a/sefaria/local_settings.py b/sefaria/local_settings.py index 87b7310bd3..c7d2f5c6ab 100644 --- a/sefaria/local_settings.py +++ b/sefaria/local_settings.py @@ -5,7 +5,7 @@ import sefaria.system.logging as sefaria_logging import os -from decoder import private_key_1 +# from decoder import private_key_1 from dotenv import load_dotenv from google_auth_oauthlib.flow import Flow @@ -274,7 +274,7 @@ "type": "service_account", "project_id": os.getenv("project_id"), "private_key_id": os.getenv("private_key_id"), - "private_key": private_key_1, + "private_key": os.getenv("private_key").replace("\\n", "\n"), "client_email": os.getenv("client_email"), "client_id": os.getenv("client_id"), "auth_uri": "https://accounts.google.com/o/oauth2/auth", @@ -284,6 +284,8 @@ "universe_domain": "googleapis.com" } +print("H"*20, GOOGLE_APPLICATION_CREDENTIALS) + GEOIP_DATABASE = 'data/geoip/GeoLiteCity.dat' GEOIPV6_DATABASE = 'data/geoip/GeoLiteCityv6.dat' diff --git a/sites/sefaria/site_settings.py b/sites/sefaria/site_settings.py index 626365c5db..5ed7b12b54 100644 --- a/sites/sefaria/site_settings.py +++ b/sites/sefaria/site_settings.py @@ -11,8 +11,8 @@ "he": "Pecha དཔེ་མཛོད།", }, "SUPPORTED_TRANSLATION_LANGUAGES": ['en', 'es', 'fr', 'de'], - "COLLECTIONS_BUCKET": "pecha-collection-image", - "PROFILES_BUCKET": 'pecha-profile-picture', - "UGC_BUCKET": 'pecha-sheet-user-uploaded-picture', - "TOPICS_BUCKET": 'pecha-topic-picture' + "COLLECTIONS_BUCKET": "pecha-collection-img", + "PROFILES_BUCKET": 'pecha-profile-img', + "UGC_BUCKET": 'pecha-sheet-user-uploaded-img', + "TOPICS_BUCKET": 'pecha-topic-img' } diff --git a/static/js/TextCategoryPage.jsx b/static/js/TextCategoryPage.jsx index c8bcb4b9bb..5d2c6b21bd 100644 --- a/static/js/TextCategoryPage.jsx +++ b/static/js/TextCategoryPage.jsx @@ -292,13 +292,14 @@ const MenuItem = ({href, nestLevel, title, heTitle, cats, onClick, enDesc, heDes const TextMenuItem = ({item, categories, nestLevel, onClick}) => { const [title, heTitle] = getRenderedTextTitleString(item.title, item.heTitle, categories); + console.log("title : ", title, heTitle) return (