From f0747c5645500ff60f8587d53b465321a76ea200 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Tue, 6 Oct 2015 16:42:48 +0000 Subject: [PATCH] Derive this value. --- roles/taiga/templates/local.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/taiga/templates/local.py b/roles/taiga/templates/local.py index b4ca5fcdfc..d72dc2395a 100644 --- a/roles/taiga/templates/local.py +++ b/roles/taiga/templates/local.py @@ -1,10 +1,10 @@ from .common import * -MEDIA_URL = "http://209.132.184.50/media/" -STATIC_URL = "http://209.132.184.50/static/" -ADMIN_MEDIA_PREFIX = "http://209.132.184.50/static/admin/" +MEDIA_URL = "http://{{ inventory_hostname }}/media/" +STATIC_URL = "http://{{ inventory_hostname }}/static/" +ADMIN_MEDIA_PREFIX = "http://{{ inventory_hostname }}/static/admin/" SITES["front"]["scheme"] = "http" -SITES["front"]["domain"] = "209.132.184.50" +SITES["front"]["domain"] = "{{ inventory_hostname }}" SECRET_KEY = "{{ taiga_secret_key }}"