Skip to content

Commit 41809b0

Browse files
committed
URL should take into account the app URL as well.
1 parent e476b18 commit 41809b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/grape_swagger_rails/application/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
var options = $("html").data('swagger-options');
1111

1212
window.swaggerUi = new SwaggerUi({
13-
url: options.url,
13+
url: options.app_url + options.url,
1414
dom_id:"swagger-ui-container",
1515
supportHeaderParams: true,
1616
headers: options.headers,

0 commit comments

Comments
 (0)