- instagram features
This commit is contained in:
1 parent
236c52de5a
commit
fa76f19762
2 files changed
+1
-13
No files matched your search
+1
-9
@@ -4,16 +4,8 @@ require('babel-polyfill');
|
||||
var config = require("../config").default;
|
||||
var db = require("../core/db");
|
||||
var app = require("../server").app;
|
||||
var instagram = require("../instagram");
|
||||
|
||||
db.init(config.db.uri)
|
||||
//.then(instagram)
|
||||
.then(function () {
|
||||
app.listen(config.port);
|
||||
})
|
||||
.then(function () {
|
||||
return instagram()
|
||||
.then(function () {
|
||||
console.log('INSTAGRAM INITED');
|
||||
});
|
||||
});
|
||||
});
|
||||
@@ -18,8 +18,6 @@ import sitemap from './routes/sitemap';
|
||||
import schedule from './routes/schedule';
|
||||
import news from './routes/news';
|
||||
import gallery from './routes/gallery';
|
||||
import instagram from './instagram/router';
|
||||
import instagramIO from './instagram/io';
|
||||
import error404 from './routes/404';
|
||||
import documents from './routes/documents';
|
||||
import teachers from './routes/teachers';
|
||||
@@ -58,8 +56,6 @@ sitemap(app);
|
||||
schedule(app);
|
||||
news(app);
|
||||
gallery(app);
|
||||
instagram(app);
|
||||
instagramIO(app);
|
||||
documents(app);
|
||||
events(app);
|
||||
articles(app);
|
||||
|
||||
Reference in new issue
Block a user