Initial commit 🍀

This commit is contained in:
syuilo
2016-12-29 07:49:51 +09:00
commit b3f42e62af
405 changed files with 31017 additions and 0 deletions

23
src/himasaku/server.ts Normal file
View File

@@ -0,0 +1,23 @@
/**
* Himasaku Server
*/
import * as express from 'express';
/**
* Init app
*/
const app = express();
app.disable('x-powered-by');
app.locals.cache = true;
app.get('/himasaku.png', (req, res) => {
res.sendFile(__dirname + '/resources/himasaku.png');
});
app.get('*', (req, res) => {
res.sendFile(__dirname + '/resources/index.html');
});
module.exports = app;