Skip to content

Commit

Permalink
MC
Browse files Browse the repository at this point in the history
  • Loading branch information
dawnwages committed Dec 6, 2023
2 parents 934ec4a + 3d739e3 commit 9f9a8bc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions indymeet/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
"MAILJET_SECRET_KEY": MAILJET_SECRET_KEY,
}
# Azure Media and Static Storage Settings
# MEDIA_URL =
AZURE_ACCOUNT_NAME = os.environ.get("AZURE_ACCOUNT_NAME", "djangonaut")
AZURE_STORAGE_NAME = os.environ.get("AZURE_STORAGE_NAME", False)
AZURE_STORAGE_KEY = "False"
Expand All @@ -66,8 +65,8 @@
DEFAULT_FILE_STORAGE = "indymeet.settings.storages.AzureMediaStorage"
STATICFILES_STORAGE = "indymeet.settings.storages.AzureStaticStorage"

AZURE_CUSTOM_DOMAIN = f"{AZURE_ACCOUNT_NAME}.azureedge.net" # CDN URL
# AZURE_CUSTOM_DOMAIN = f"{AZURE_ACCOUNT_NAME}.blob.core.windows.net" # Files URL
# AZURE_CUSTOM_DOMAIN = f"{AZURE_ACCOUNT_NAME}.azureedge.net" # CDN URL
AZURE_CUSTOM_DOMAIN = f"{AZURE_ACCOUNT_NAME}.blob.core.windows.net" # Files URL

STATIC_URL = f"https://{AZURE_CUSTOM_DOMAIN}/{AZURE_STATIC_CONTAINER}/"
MEDIA_URL = f"https://{AZURE_CUSTOM_DOMAIN}/{AZURE_MEDIA_CONTAINER}/"
Expand Down

0 comments on commit 9f9a8bc

Please sign in to comment.