Skip to content

Commit f01960c

Browse files
committed
Merge pull request #12 from ghilead/add_app_url
URL should take into account the app URL as well.
2 parents eef4cf1 + 41809b0 commit f01960c

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)