mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-30 12:21:57 +00:00
chore: Add something
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import { Origin } from "./Origin";
|
||||
|
||||
export class LocalBinding {
|
||||
constructor(readonly localAddress: string, readonly ipAddress: string) {}
|
||||
constructor(readonly localHost: string, readonly ipHost: string) {}
|
||||
createOrigins(protocol: string) {
|
||||
return {
|
||||
local: new Origin(protocol, this.localAddress),
|
||||
ip: new Origin(protocol, this.ipAddress),
|
||||
local: new Origin(protocol, this.localHost),
|
||||
ip: new Origin(protocol, this.ipHost),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user