Skip to content

Commit 930b108

Browse files
committed
fix(app): remove pre generated thing endpoint require statements
1 parent 53ee7e5 commit 930b108

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

app/templates/server/config/socketio(socketio).js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function onConnect(socket) {
1818
});
1919

2020
// Insert sockets below
21-
require('../api/thing/thing.socket').register(socket);
21+
2222
}
2323

2424
module.exports = function(socketio) {

app/templates/server/routes.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ var path = require('path');
99

1010
module.exports = function(app) {
1111

12-
// Insert routes below
13-
app.use('/api/things', require('./api/thing'));<% if (filters.auth) { %>
12+
// Insert routes below<% if (filters.auth) { %>
1413
app.use('/api/users', require('./api/user'));
1514

1615
app.use('/auth', require('./auth'));

0 commit comments

Comments
 (0)