We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb0dbbe commit a047c66Copy full SHA for a047c66
examples/basic.js
@@ -62,9 +62,11 @@ server.register([Basic], function(err) {
62
}
63
],
64
function(err) {
65
+
66
if (err) {
67
console.log(err);
68
69
70
server.route({
71
method: 'PUT',
72
path: '/v1/store/{id?}',
@@ -106,10 +108,12 @@ server.register([Basic], function(err) {
106
108
107
109
110
});
111
112
+ server.start(function() {
113
+ console.log('Server running at:', server.info.uri);
114
+ });
115
116
117
);
118
119
-server.start(function() {
- console.log('Server running at:', server.info.uri);
-});
0 commit comments