mirror of
https://github.com/bitinflow/server.git
synced 2026-03-13 21:45:54 +00:00
update landing page
- restyle - add sponsors
This commit is contained in:
11
server.js
11
server.js
@@ -3,6 +3,8 @@ var express = require('express');
|
||||
var bouncy = require('bouncy');
|
||||
var taters = require('taters');
|
||||
var enchilada = require('enchilada');
|
||||
var stylish = require('stylish');
|
||||
var makeover = require('makeover');
|
||||
var makeup = require('makeup');
|
||||
var engine = require('engine.io');
|
||||
var browserkthx = require('browserkthx');
|
||||
@@ -132,6 +134,15 @@ module.exports = function(opt) {
|
||||
app.use(browserkthx({ ie: '< 9' }));
|
||||
app.use(taters({ cache: kProduction }));
|
||||
|
||||
app.use(stylish({
|
||||
src: __dirname + '/static/',
|
||||
compress: kProduction,
|
||||
cache: kProduction,
|
||||
setup: function(stylus) {
|
||||
return stylus.use(makeover());
|
||||
}
|
||||
}));
|
||||
|
||||
app.use(enchilada({
|
||||
src: __dirname + '/static/',
|
||||
compress: kProduction,
|
||||
|
||||
Reference in New Issue
Block a user