Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PleasureTools/joyBox
/ Create
Method
Create
backend/Src/WebServerFactory.ts:9–11 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
7
8
export
class
WebServerFactory {
9
public Create() {
10
return
Config.IsSecure ?
new
HTTPSServer(this.TLSOptions()) :
new
HTTPServer();
11
}
12
13
private TLSOptions() {
14
return
{
Callers
2
constructor
Method · 0.45
StartResourceMonitor
Method · 0.45
Calls
1
TLSOptions
Method · 0.95
Tested by
no test coverage detected