ltijs
Version:
Easily turn your web application into a LTI 1.3 Learning Tool.
9 lines (8 loc) • 438 B
TypeScript
import type { CorsOptions, SslOptions } from '#services/http-handler/http-handler.types';
export interface ExpressHttpHandlerOptions {
port: number;
/** Terminates TLS in-process instead of listening over plain HTTP -- pass a PEM-encoded key/cert pair. */
ssl?: SslOptions;
/** Defaults to reflecting any request origin with credentials allowed. Pass `false` to disable CORS entirely. */
cors?: false | CorsOptions;
}