Make sure the ac-discovery URL is generated properly from config values

This commit is contained in:
Joseph Schorr 2015-01-13 18:00:01 -05:00
parent d8817a2965
commit 5bbf1d0c14
2 changed files with 3 additions and 1 deletions

View file

@ -10,7 +10,7 @@
<meta id="descriptionTag" name="description" content="Hosted private docker repositories. Includes full user management and history. Free for public repositories."></meta>
<meta name="google-site-verification" content="GalDznToijTsHYmLjJvE4QaB9uk_IP16aaGDz5D75T4" />
<meta name="fragment" content="!" />
<meta name="ac-discovery" content="10.0.2.2 http://10.0.2.2/c1/aci/{name}/{version}/{ext}/{os}/{arch}/">
<meta name="ac-discovery" content="{{ hostname }} {{ preferred_scheme }}://{{ hostname }}/c1/aci/{name}/{version}/{ext}/{os}/{arch}/">
{% endblock %}