Change s3 dir, cloudfront is slow

master
Nick Sergeant 2011-10-24 00:15:03 -04:00
parent 2222008426
commit 544cd9c5f1
1 changed files with 2 additions and 1 deletions

View File

@ -69,7 +69,8 @@ STATICFILES_STORAGE = 'storages.backends.s3boto.S3BotoStorage'
if DEBUG:
STATIC_URL = '/media/'
else:
STATIC_URL = 'https://dn2p0mzo970os.cloudfront.net/'
#STATIC_URL = 'https://dn2p0mzo970os.cloudfront.net/'
STATIC_URL = 'https://snipt.s3.amazonaws.com/'
# S3 Settings
AWS_ACCESS_KEY_ID = 'AKIAJTFDHBCXHJLXINKQ'