diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100755
--- a/lib/index.js
+++ b/lib/index.js
@@ -77,7 +77,7 @@ exports.register = function (server, options, next) {
 
         server.route({
             method: 'GET',
-            path: '/docs/swaggerui/images/throbber.gif',
+            path: settings.endpoint + '/swaggerui/images/throbber.gif',
             config: {
                 auth: settings.auth,
             },
Fixed endpoint for throbber.gif image