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

13
src/web/meta.ts Normal file
View File

@ -0,0 +1,13 @@
import * as express from 'express';
const git = require('git-last-commit');
module.exports = async (req: express.Request, res: express.Response) => {
// Get commit info
git.getLastCommit((err, commit) => {
res.send({
commit: commit
});
}, {
dst: `${__dirname}/../../misskey`
});
};