Skip to content

Commit

Permalink
fixup! feat: add flags to provide custom https cert
Browse files Browse the repository at this point in the history
  • Loading branch information
petebacondarwin committed Feb 16, 2024
1 parent e3cf8ca commit cbdef85
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/wrangler/src/api/startDevWorker/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@ export interface StartDevWorkerOptions {

/** The local address to reach your worker. Applies to remote: true (remote mode) and remote: false (local mode). */
server?: {
hostname?: string;
port?: number;
secure?: boolean;
hostname?: string; // --ip
port?: number; // --port
secure?: boolean; // --local-protocol==https
httpsKeyPath?: string;
httpsCertPath?: string;
}; // hostname: --ip, port: --port, secure: --local-protocol
};
/** Controls what request.url looks like inside the worker. */
urlOverrides?: { hostname?: string; secure?: boolean }; // hostname: --host (remote)/--local-upstream (local), port: doesn't make sense in remote/=== server.port in local, secure: --upstream-protocol
/** A hook for outbound fetch calls from within the worker. */
Expand Down

0 comments on commit cbdef85

Please sign in to comment.