Reverted to use special loading logic from loopback-explorer

This commit is contained in:
Shelby Sanders 2014-07-14 22:07:14 -07:00
parent ed044468f7
commit 0e223845e5
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ $(function() {
var accessToken;
function loadSwaggerUi(config) {
window.swaggerUi = new SwaggerUi({
url: config.url || '/swagger/resources',
url: config.discoveryUrl || '/swagger/resources',
apiKey: '',
dom_id: 'swagger-ui-container',
supportHeaderParams: true,