Skip to content

Commit

Permalink
fix: skip tls verification for dev runs (#71)
Browse files Browse the repository at this point in the history
When connecting to `api.psdev.sh`, we use a self-signed cert so the cert
needs to be explicitly ignored.
  • Loading branch information
ps-kwang authored May 7, 2024
1 parent a3bfecd commit 5cfc593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deno.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Run the CLI in development mode. This will use the local Paperspace API and
* Console URLs.
*/
"dev": "PAPERSPACE_API_URL=https://api.psdev.sh:8443/v1 PAPERSPACE_CONSOLE_URL=https://console.psdev.sh:8443/ deno run --allow-env --allow-run --allow-read --allow-write --allow-net mod.ts",
"dev": "PAPERSPACE_API_URL=https://api.psdev.sh:8443/v1 PAPERSPACE_CONSOLE_URL=https://console.psdev.sh:8443/ deno run --allow-env --allow-run --allow-read --allow-write --allow-net --unsafely-ignore-certificate-errors mod.ts",
/**
* Run the CLI in production mode. This will use the production Paperspace API and
* Console URLs.
Expand Down

0 comments on commit 5cfc593

Please sign in to comment.