Some enhancements

This commit is contained in:
CommanderRedYT
2022-03-18 11:30:06 +01:00
parent 72ce9fb3a5
commit 6f6966d13e
4 changed files with 16 additions and 10 deletions

View File

@@ -230,7 +230,7 @@ void cloudSend()
std::string getLoginMessage()
{
using namespace espgui;
return fmt::format("{{\"type\": \"hello\", \"name\": \"{}\", \"res\": \"{}x{}\", \"pass\": \"{}\", \"key\": \"{}\"}}",
return fmt::format(R"({{"type": "hello", "name": "{}", "res": "{}x{}", "pass": "{}", "key": "{}"}})",
configs.otaUsername.value, tft.width(), tft.height(), configs.webserverPassword.value, configs.cloudSettings.cloudKey.value);
}