From a098fe038ed5a980260b4ea46088edf16a21a97d Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Sat, 19 Jan 2019 23:01:04 +0200 Subject: [PATCH] typescript(translucid): old files Signed-off-by: prescientmoon --- typescript/translucid/index.html | 12 ------------ typescript/translucid/test.js | 13 ------------- 2 files changed, 25 deletions(-) delete mode 100644 typescript/translucid/index.html delete mode 100644 typescript/translucid/test.js diff --git a/typescript/translucid/index.html b/typescript/translucid/index.html deleted file mode 100644 index 6396993..0000000 --- a/typescript/translucid/index.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - Document - - - Hello World! - - diff --git a/typescript/translucid/test.js b/typescript/translucid/test.js deleted file mode 100644 index dc459f2..0000000 --- a/typescript/translucid/test.js +++ /dev/null @@ -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"] -});