diff --git a/public/swagger-initializer.js b/public/swagger-initializer.js index 837ff5f..02657a7 100644 --- a/public/swagger-initializer.js +++ b/public/swagger-initializer.js @@ -3,7 +3,7 @@ window.onload = function() { // the following lines will be replaced by docker/configurator, when it runs in a docker-container window.ui = SwaggerUIBundle({ - url: "http://192.168.0.27:8080/swagger.json", + url: "http://{{SERVER_NAME}}/swagger.json", dom_id: '#swagger-ui', deepLinking: true, presets: [ diff --git a/tests/API-dhcp/Vagrantfile b/tests/API-dhcp/Vagrantfile index d88e731..dd594b8 100644 --- a/tests/API-dhcp/Vagrantfile +++ b/tests/API-dhcp/Vagrantfile @@ -3,10 +3,15 @@ # in the wiki: https://github.com/josenk/vagrant-vmware-esxi/wiki $script = <