web: dynamic buffer for the config response

This commit is contained in:
Maxim Prokhorov
2021-04-07 22:56:24 +03:00
parent 778566d080
commit 7362eeb8d6
11 changed files with 119 additions and 59 deletions

View File

@@ -90,6 +90,21 @@ const char* getVersion() {
return version;
}
const char* getAppName() {
static const char app[] = APP_NAME;
return app;
}
const char* getAppAuthor() {
static const char author[] = APP_AUTHOR;
return author;
}
const char* getAppWebsite() {
static const char website[] = APP_WEBSITE;
return website;
}
const char* getDevice() {
static const char device[] = DEVICE;
return device;