Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fea: Add HTTPS support #272

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

hazmi-e205
Copy link

Add HTTPS support with switching ability


getWebProtocol() {
// Replace to return "https://" for HTTPS Support
return `http://`;
Copy link

@756434644 756434644 Jan 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why return http://? Dosen‘t return https://?

Copy link
Author

@hazmi-e205 hazmi-e205 Jan 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it will be replaced when the container run.
https://github.com/hazmi-e205/sonic-client-web/blob/6c9dd1a3543aaaedb00aaa3b3ae4528f1edc7911/replace.sh#L11

because the maintainer want to make it easier to switch between http and https

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants