Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MyraxByte authored Jan 21, 2024
1 parent f5de1b2 commit 2c4df06
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,15 @@ Vite Tunnel accepts the following options:

```ts
ViteTunnelPlugin({
// The local server port to expose. Defaults to 5521.
// The URL to expose. Defaults to {protocol}://{hostname}:{port}.
url: 'http://localhost:5521',
// The local server port to expose. Defaults to 5521. (Only used if `url` is not set)
port: 5521,
// The local server hostname to expose. Defaults to localhost.
host: "localhost",
// The local server protocol to use. Defaults to http.
// The local server hostname to expose. Defaults to localhost. (Only used if `url` is not set)
hostname: "localhost",
// The local server protocol to use. Defaults to http. (Only used if `url` is not set)
protocol: "http",
// Whether to verify the local server TLS certificate. Defaults to false.
// Whether to verify the local server TLS certificate. Defaults to false.
verifyTLS: false,
// Whether to accept the Cloudflare terms of service. Defaults to false.
acceptCloudflareNotice: false,
Expand Down

0 comments on commit 2c4df06

Please sign in to comment.