1
Fork 0

typescript(translucid): old files

Signed-off-by: prescientmoon <git@moonythm.dev>
This commit is contained in:
Matei Adriel 2019-01-19 23:01:04 +02:00 committed by prescientmoon
parent 196b6ba241
commit a098fe038e
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
2 changed files with 0 additions and 25 deletions

View file

@ -1,12 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
Hello World!
</body>
</html>

View file

@ -1,13 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const app_1 = require("./app");
const { app, translucid } = app_1.QuickServer(8000);
translucid.bind("/", "index.html");
translucid.bind("/test", "read.js", true, ["class"]);
translucid.use({
name: "wow, a midleware",
run: (prev, req, res, next) => {
next("sent by a midleware");
},
keys: ["class"]
});