1
0
Fork 0

made path relative in order to avoid problems when using a different port

This commit is contained in:
Frank Celler 2015-01-07 13:43:17 +01:00
parent 49cb009186
commit 26d11822ab
1 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@
</div> </div>
</div> </div>
<div class="swagger"> <div class="swagger">
<iframe src="http://localhost:8529/_db/_system/_admin/aardvark/standalone.html#application/documentation/<%= attributes._key %>" name="Documentation"></iframe> <iframe src="./standalone.html#application/documentation/<%= attributes._key %>" name="Documentation"></iframe>
</div> </div>
</section> </section>
<aside class="meta"> <aside class="meta">
@ -62,7 +62,7 @@
<ul> <ul>
<% if (!attributes.development) { %> <% if (!attributes.development) { %>
<li> <li>
<a href="http://localhost:8529/_db/_system/_admin/aardvark/swagger/<%= encodeURIComponent(encodeURIComponent(attributes.mount)) %>" target="_blank"> <a href="./swagger/<%= encodeURIComponent(encodeURIComponent(attributes.mount)) %>" target="_blank">
Download API Documentation Download API Documentation
</a> </a>
</li> </li>