Skip to content

Commit

Permalink
Merge pull request #1 from morinokami/untun-0.1.3
Browse files Browse the repository at this point in the history
Update untun to 0.1.3 and add acceptCloudflareNotice option
  • Loading branch information
morinokami authored Dec 17, 2023
2 parents 302e957 + f4e643e commit 8a81ced
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/silver-eels-own.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"astro-tunnel": minor
---

Update untun to 0.1.3 and add acceptCloudflareNotice option
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,7 @@ tunnel({
protocol: 'http',
// 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,
});
```
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"untun": "0.1.2"
"untun": "0.1.3"
},
"devDependencies": {
"@biomejs/biome": "1.4.1",
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export default function createAstroTunnelIntegration(
hostname: "localhost",
protocol: "http",
verifyTLS: false,
acceptCloudflareNotice: false,
},
): AstroIntegration {
return {
Expand Down

0 comments on commit 8a81ced

Please sign in to comment.