32 lines
No EOL
701 B
Text
32 lines
No EOL
701 B
Text
#ifndef SECRETS_H
|
|
#define SECRETS_H
|
|
|
|
#ifdef WIFI
|
|
const char* ssid = "WIFI";
|
|
const char* password = "123";
|
|
#endif
|
|
|
|
#ifdef WEB_SERVER
|
|
const char* http_username = "admin";
|
|
const char* http_password = "admin";
|
|
#endif
|
|
|
|
#ifdef TINANCE2_BACKEND
|
|
const char* tinance2_url = "https://tinance2.local/accesscontrol/api/check-card-id";
|
|
const char* tinance2_reader_identifer = "mx-test-reader-1";
|
|
const char* tinance2_reader_key = "access-key";
|
|
#endif
|
|
|
|
|
|
#ifdef LOCAL_ACL
|
|
#include "ACL.h"
|
|
|
|
ACL acl = {
|
|
{"1234", "Card 1"},
|
|
{"4567", "Card 2"},
|
|
{"7891", "Card 3"}
|
|
};
|
|
|
|
#endif
|
|
|
|
#endif |