Removing credentials from config file

This commit is contained in:
stephb9959
2021-08-22 20:10:18 -07:00
parent 7afc77249a
commit ed628caace
3 changed files with 9 additions and 9 deletions

2
build
View File

@@ -1 +1 @@
12
14

View File

@@ -61,7 +61,7 @@ namespace OpenWifi {
int Start() override;
void Stop() override;
int Setup_SQLite();
[[nodiscard]] std::string ConvertParams(const std::string &S) const;
[[nodiscard]] inline std::string ComputeRange(uint64_t From, uint64_t HowMany) {
if(dbType_==sqlite) {
@@ -92,11 +92,6 @@ namespace OpenWifi {
return instance_;
}
#ifndef SMALL_BUILD
int Setup_MySQL();
int Setup_PostgreSQL();
#endif
private:
static Storage *instance_;
std::unique_ptr<Poco::Data::SessionPool> Pool_= nullptr;
@@ -111,6 +106,11 @@ namespace OpenWifi {
SubSystemServer("Storage", "STORAGE-SVR", "storage")
{
}
int Setup_SQLite();
int Setup_MySQL();
int Setup_PostgreSQL();
};
inline Storage * Storage() { return Storage::instance(); };

View File

@@ -41,8 +41,8 @@ ucentral.system.uri.ui = ucentral-ui.arilia.com
#
s3.bucketname = ucentral-ap-firmware
s3.region = us-east-1
s3.secret = EuLw8ATOcP80UbEj1qGqP9F/I7GvJl8xo6p7LoFt
s3.key = AKIATXEXGKF345T2LXE7
s3.secret = *******************************************
s3.key = *******************************************
s3.retry = 60
s3.bucket.uri = ucentral-ap-firmware.s3.amazonaws.com