From 1fbf1740ab1a3c9b95a07528ef580126610b52a4 Mon Sep 17 00:00:00 2001 From: Samuel Reed Date: Tue, 27 Sep 2016 13:11:40 -0500 Subject: [PATCH] Update to mainline swagger-ui Revert https://github.com/strongloop/loopback-component-explorer/pull/107 --- index.js | 2 +- package.json | 2 +- public/index.html | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/index.js b/index.js index 7e0adde..21a8e8f 100644 --- a/index.js +++ b/index.js @@ -19,7 +19,7 @@ var urlJoin = require('./lib/url-join'); var _defaults = require('lodash').defaults; var cors = require('cors'); var createSwaggerObject = require('loopback-swagger').generateSwaggerSpec; -var SWAGGER_UI_ROOT = require('strong-swagger-ui/index').dist; +var SWAGGER_UI_ROOT = require('swagger-ui/index').dist; var STATIC_ROOT = path.join(__dirname, 'public'); module.exports = explorer; diff --git a/package.json b/package.json index ee12f74..f9ac171 100644 --- a/package.json +++ b/package.json @@ -38,6 +38,6 @@ "lodash": "^3.10.0", "loopback-swagger": "^2.1.0", "strong-globalize": "^2.6.2", - "strong-swagger-ui": "^21.0.0" + "swagger-ui": "^2.2.5" } } diff --git a/public/index.html b/public/index.html index c39f26a..10c9e5c 100644 --- a/public/index.html +++ b/public/index.html @@ -15,11 +15,11 @@ - - + + - +