dont know what happened
This commit is contained in:
11
server/routes.js
Normal file
11
server/routes.js
Normal file
@@ -0,0 +1,11 @@
|
||||
import Controllers from './config/controllers'
|
||||
|
||||
export default function(app){
|
||||
|
||||
Controllers.sync();
|
||||
|
||||
app.use('/data/v1/power', Controllers.PowerController.index);
|
||||
app.use('/data/v1/energy', Controllers.EnergyController.index);
|
||||
app.use('/data/v1/houses', Controllers.HousesController.index);
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user