elewin / pi-weather-station

MIT License
295 stars 60 forks source link

Hi how to remove settings button from web page? #18

Closed v222008 closed 3 years ago

v222008 commented 3 years ago

replace

thx.

elewin commented 3 years ago

Comment out or remove this div: https://github.com/elewin/pi-weather-station/blob/5882f416154f760180f586424674b9cc2caf8f37/client/src/components/ControlButtons/index.js#L55 And then re-run webpack: npm run prod. Note however that without the ability change settings, you won't be able to update your API keys through the UI (though you can do so manually by updating the settings.json file that is generated)