diff --git a/src/bin/www.js b/src/bin/www.js index e6b30022..0101581d 100644 --- a/src/bin/www.js +++ b/src/bin/www.js @@ -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'); - }); - }); \ No newline at end of file + }); diff --git a/src/server.js b/src/server.js index 2e6b1bd2..4e494f3d 100644 --- a/src/server.js +++ b/src/server.js @@ -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);