diff options
| author | Rutger Broekhoff | 2026-08-28 23:29:00 +0200 |
|---|---|---|
| committer | Rutger Broekhoff | 2026-08-28 23:29:00 +0200 |
| commit | 35878b76049b9c3e752480e9f298b7e2da6fdf1f (patch) | |
| tree | 034bd4bcbbd0445e8f3a13dba0b7d517807bbaaa /server/src/config.cppm | |
| parent | b0d7600970d2fdb1eb6fff813c7336ea34d4e228 (diff) | |
| download | routemon-35878b76049b9c3e752480e9f298b7e2da6fdf1f.tar.gz routemon-35878b76049b9c3e752480e9f298b7e2da6fdf1f.zip | |
Make RWGPS config optional
Diffstat (limited to 'server/src/config.cppm')
| -rw-r--r-- | server/src/config.cppm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/src/config.cppm b/server/src/config.cppm index e5b48f4..358a961 100644 --- a/server/src/config.cppm +++ b/server/src/config.cppm | |||
| @@ -7,8 +7,8 @@ namespace routemon::config { | |||
| 7 | 7 | ||
| 8 | export struct rwgps | 8 | export struct rwgps |
| 9 | { | 9 | { |
| 10 | std::string api_key; | 10 | std::string api_key_filename; |
| 11 | std::string auth_token; | 11 | std::string auth_token_filename; |
| 12 | }; | 12 | }; |
| 13 | 13 | ||
| 14 | export struct situations | 14 | export struct situations |
| @@ -33,7 +33,7 @@ export struct logger | |||
| 33 | 33 | ||
| 34 | export struct app | 34 | export struct app |
| 35 | { | 35 | { |
| 36 | rwgps rwgps; | 36 | std::optional<rwgps> rwgps; |
| 37 | situations situations; | 37 | situations situations; |
| 38 | database database; | 38 | database database; |
| 39 | http_server http_server; | 39 | http_server http_server; |