Ignore:
Timestamp:
Sep 3, 2011, 12:14:02 PM (13 years ago)
Author:
rick
Message:

Allow prefixing on domain proto to 'hack' a way making relative URLs by making
both CDN variables blank in local_settings.py.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/django_gheat/settings.py

    r9636 r9653  
    1414DJANGO_BALANCERS = OSM_PROXY_BALANCERS = ['a','b','c','d','e','f']
    1515OSM_PROXY_CDN_DOMAINS = [d + '.osmproxy.wirelessleiden.nl' for d in DJANGO_BALANCERS]
     16OSM_PROXY_CDN_DOMAINS_PROTOCOL = 'http://'
    1617OSM_PREFIX = '/osm-tile-proxy'
    1718DJANGO_CDN_DOMAINS = [d + '.maps.wirelessleiden.nl' for d in DJANGO_BALANCERS]
     19DJANGO_CDN_DOMAINS_PROTOCOL = 'http://'
    1820
    1921DEBUG = os.path.exists(PROJECT_HOME + '/enable_debug')
Note: See TracChangeset for help on using the changeset viewer.