vpn.email
Version:
vpn.email client
18 lines (16 loc) • 636 B
text/typescript
/// <reference path="../../../typings/tsd.d.ts" />
import express = require('express');
import * as fs from 'fs'
module.exports = function(app:express.Router) {
app.get("/home/", (req, res) => {
console.log ('-------------------------------------')
const logo = fs.readFileSync('../../images/vpnemail.svg', 'utf8')
res.render('home', { title: 'home', logo: logo});
});
app.get("/home/install",(req, res) => {
res.render('home/install', { title: 'install'});
})
app.get("/home/question",(req, res) => {
res.render('home/question', { title: 'question'});
})
}