Skip to content
This repository has been archived by the owner on Jul 6, 2024. It is now read-only.

Adding NOHTMLRENDER build flag #143

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Resousse
Copy link

Even if it's possible to protect the upload of firmware with credentials, I would prefer to totally disable the update form, when firmware is published automatically via a script.
In addition, there would be a saving of memory space 4% on my ESP-32, due to the HTML template not loaded.

To ensure the template is not embedded within the build, the best I found is to use build flag.
Example in my platformio.ini file:
build_flags = -D NOHTMLRENDER

Of course, no flag = no change in the current behavior.

In the proposed readme change, I didn't include how to add a build flag, because I assume it's easy to find how to.

btw thanks a lot for this awesome lib! :)

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

Successfully merging this pull request may close these issues.

1 participant