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

Add #ifdef USE_WEBSERVER_LOCAL to make_header.sh #89

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

pzich
Copy link
Contributor

@pzich pzich commented Apr 25, 2024

As mentioned in esphome/esphome#6563 (comment)

It could pay to also add #ifdef USE_WEBSERVER_LOCAL into the generated headers which would solve this problem entirely.

This adds that #ifdef.

Do we want something similar for captive_index.h? If so, I might restructure this script a bit so it takes in the #ifdef name directly instead of just adding USE_WEBSERVER_LOCAL when a version number is passed.

Copy link

netlify bot commented Apr 25, 2024

Deploy Preview for esphome-webserver ready!

Name Link
🔨 Latest commit 8b25e2b
🔍 Latest deploy log https://app.netlify.com/sites/esphome-webserver/deploys/662a8abdf2b3760008ade9b1
😎 Deploy Preview https://deploy-preview-89--esphome-webserver.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@jesserockz jesserockz merged commit f11c1a4 into esphome:dev Apr 25, 2024
7 checks passed
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.

2 participants