mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-13 03:37:05 +01:00
web: dynamic buffer for the config response
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user