Skip to content
Snippets Groups Projects
Commit d5ef5249 authored by Armin Felder's avatar Armin Felder
Browse files

fixed google key

parent 888712b2
No related branches found
No related tags found
No related merge requests found
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
std::string GooglePushModel::mApiKey; std::string GooglePushModel::mApiKey;
void GooglePushModel::loadApiKey() { void GooglePushModel::loadApiKey() {
std::ifstream ifs("credentials/google/serverKey.txt"); std::ifstream ifs("/certs/google/serverKey.txt");
std::string content((std::istreambuf_iterator<char>(ifs)), std::string content((std::istreambuf_iterator<char>(ifs)),
(std::istreambuf_iterator<char>())); (std::istreambuf_iterator<char>()));
GooglePushModel::mApiKey = content; GooglePushModel::mApiKey = content;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment