Add cccatalog.herokuapp.com routes to url shortening whitelist
@@ -36,9 +36,11 @@ ALLOWED_HOSTS = ['localhost', '127.0.0.1', os.environ.get('LOAD_BALANCER_URL'),
gethostname(), gethostbyname(gethostname())]
# Domains that shortened links may point to
-SHORT_URL_WHITELIST = {'api-dev.creativecommons.engineering',
+SHORT_URL_WHITELIST = {
+ 'api-dev.creativecommons.engineering',
'api.creativecommons.engineering',
- 'http://ccccatalog.herokuapp.com'}
+ 'http://ccccatalog.herokuapp.com'
+}
SHORT_URL_PATH_WHITELIST = ['/list', '/image/']
