This commit is contained in:
J H
2024-02-02 08:41:32 -07:00
parent e202b5640c
commit 7f3c189ec1
8 changed files with 44 additions and 34 deletions

View File

@@ -2,7 +2,10 @@ import { Address } from "../types"
import { Host, PortOptions } from "./Host"
export class Origin<T extends Host> {
constructor(readonly host: T, readonly options: PortOptions) {}
constructor(
readonly host: T,
readonly options: PortOptions,
) {}
build({ username, path, search }: BuildOptions): Address {
const qpEntries = Object.entries(search)