✨
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import * as express from 'express';
|
||||
const git = require('git-last-commit');
|
||||
import git = require('git-last-commit');
|
||||
|
||||
module.exports = async (req: express.Request, res: express.Response) => {
|
||||
// Get commit info
|
||||
|
@@ -1,6 +1,6 @@
|
||||
import * as path from 'path';
|
||||
import * as express from 'express';
|
||||
import * as ms from 'ms';
|
||||
import ms = require('ms');
|
||||
|
||||
export default (name: string) => (req: express.Request, res: express.Response) => {
|
||||
res.sendFile(path.resolve(`${__dirname}/app/${name}/view.html`), {
|
||||
|
@@ -2,7 +2,7 @@
|
||||
* Web Server
|
||||
*/
|
||||
|
||||
import * as ms from 'ms';
|
||||
import ms = require('ms');
|
||||
|
||||
// express modules
|
||||
import * as express from 'express';
|
||||
|
@@ -1,6 +1,6 @@
|
||||
import * as express from 'express';
|
||||
import * as request from 'request';
|
||||
const xml2json = require('xml2json');
|
||||
import xml2json = require('xml2json');
|
||||
|
||||
module.exports = (req: express.Request, res: express.Response) => {
|
||||
const url: string = req.body.url;
|
||||
|
Reference in New Issue
Block a user