@roots/bud-server
Version:
Development server for @roots/bud
20 lines (19 loc) • 521 B
JavaScript
import { __decorate } from "tslib";
import { createServer, Server as HttpsServer } from 'node:https';
import { BaseServer } from '@roots/bud-server/server/base';
import { bind } from '@roots/bud-support/decorators/bind';
/**
* HTTPS Server
*/
export class Server extends BaseServer {
/**
* createServer
*/
async createServer(express) {
this.instance = createServer(this.options, express);
return this.instance;
}
}
__decorate([
bind
], Server.prototype, "createServer", null);