Skip to content

Commit 25921ec

Browse files
Andela DeveloperAndela Developer
Andela Developer
authored and
Andela Developer
committedAug 13, 2017
refactor swagger
1 parent 110820d commit 25921ec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎public/api-doc/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474

7575
// Build a system
7676
const ui = SwaggerUIBundle({
77-
url: "http://localhost:3000/swagger.json",
77+
url: "http://doksmanager.herokuapp.com/swagger.json",
7878
dom_id: '#swagger-ui',
7979
deepLinking: true,
8080
presets: [

‎server/config/express.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const swaggerDefinition = {
2121
url: 'http://www.apache.org/licenses/LICENSE-2.0.html',
2222
}
2323
},
24-
host: 'localhost:3000',
24+
host: 'doksmanager.herokuapp.com',
2525
basePath: '/',
2626
};
2727

0 commit comments

Comments
 (0)
Please sign in to comment.