Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR enables HTTPS for local development by adding TLS certificate generation and configuration across multiple services.
Changes:
- Added bash scripts to generate and install self-signed TLS certificates for development
- Updated development server configurations to use HTTPS when certificates are available
- Changed development URLs from http to https in tests and environment files
Reviewed changes
Copilot reviewed 10 out of 11 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| setup_certs.sh | Script to generate self-signed TLS certificates with SANs for localhost development |
| install_cert.sh | Script to install the generated certificates into system trust stores across different OS platforms |
| packages/provider/src/api/startProviderApi.ts | Added HTTPS server configuration with conditional certificate loading |
| packages/procaptcha-bundle/vite.serve.config.ts | Added HTTPS configuration to Vite dev server |
| demos/client-bundle-example/vite.config.ts | Added HTTPS configuration to demo Vite dev server |
| demos/client-bundle-example/env.development | Updated URLs from http to https |
| packages/provider/src/tests/integration/ipValidation.integration.test.ts | Updated test base URL to use https |
| packages/provider/src/tests/integration/api/blacklistRequestInspector.integration.test.ts | Updated test host URL to use https |
| .gitignore | Added certs directory to ignore list |
| .gitmodules | Changed submodule URL from HTTPS to SSH |
| packages/fingerprintjs | Updated submodule commit reference |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.