- instagram features

This commit is contained in:
tmshv committed 2016-03-18 05:50:48 +03:00
1 parent 236c52de5a
commit fa76f19762
2 files changed
-12

No files matched your search

-8
View File
@@ -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');
});
});
-4
View File
@@ -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);