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

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

View File

@@ -0,0 +1,35 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
<meta name="description" content="ひまさく">
<meta name="keywords" content="ひまさく, さくひま, 向日葵, 櫻子">
<title>ひまさく</title>
<style>
html {
height: 100%;
font-size: 0;
}
body {
margin: 0;
height: 100%;
overflow: hidden;
}
img {
display: block;
position: absolute;
max-width: 100%;
margin: auto;
top: 0; right: 0; bottom: 0; left: 0;
pointer-events: none;
user-select: none;
}
</style>
</head>
<body>
<img src="/himasaku.png" alt="ひまさく">
</body>
</html>

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;