Change to HTTP localhost - #108
Merged
Merged
Conversation
…update CORS settings for HTTP usage
…ss linting warnings
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.
This pull request removes support for built-in SSL certificate generation and HTTPS, migrating the project to use plain HTTP on port 8000 by default. All documentation, configuration, and code related to SSL/TLS, certificate management, and HTTPS endpoints have been updated or removed to reflect this change. The pull request also updates dependencies and simplifies some config files.
Migration from HTTPS to HTTP and removal of SSL certificate support:
certificate_handler.pyfile and theCertificateConfigModelhave been deleted, and all references to SSL certificates and related configuration are removed from the codebase and documentation. (python_template_server/certificate_handler.py[1]python_template_server/models.py[2]configuration/config.json[3].github/copilot-instructions.md[4] [5] [6]README.md[7] [8]docs/source/server.rst[9]https://localhost:443are nowhttp://localhost:8000, and the default port is set to 8000 in environment variables, Docker, and documentation. (.env.example[1].github/workflows/docker.yml[2]docker-compose.yml[3] [4]Dockerfile[5]README.md[6]RELEASE-NOTES.md[7]docs/source/server.rst[8] [9]docs/source/smg.rst[10].github/copilot-instructions.md[11] [12] [13]docker-compose.yml[1] [2]Dockerfile[3]Documentation and config cleanup:
.github/copilot-instructions.md[1] [2] [3] [4]README.md[5] [6]docs/source/server.rst[7] [8] [9]docs/source/smg.rst[10].dockerignore[11]configuration/config.json. (configuration/config.jsonconfiguration/config.jsonL8-R11)Dependency updates:
pyproject.toml, includingcryptography,fastapi,uvicorn, andpytest-env. (pyproject.tomlpyproject.tomlL21-R35)Other minor cleanups:
docker-compose.yml[1] [2].dockerignore[3]python_template_server/main.pypython_template_server/main.pyL46-R46)These changes collectively shift the template to a simpler, HTTP-only setup, making it easier to run locally and in containers without SSL/TLS management.