@dt-esa/secure-webserver
v1.5.1
Published
This package contains a secure webserver scaffold that is used in our solutions. If you've found your way here and don't know what this is for, you can safely ignore this package.
Downloads
45
Keywords
Readme
Secure Webserver
This package contains a secure webserver scaffold that is used in our solutions. If you've found your way here and don't know what this is for, you can safely ignore this package.
Example usage:
import { SecureServer } from "./src";
const server = new SecureServer({
port: 443,
sessionSecret: "cat on keyboard makes it really secret",
title: "My Test App",
description: "Ice is a rock, Water isn't wet, and liquid water is lava."
});
const app = server.getApp();
app.use((req, res, next) => {
req.secure;
});
server.start();