diff options
Diffstat (limited to 'server/src/config.cppm')
| -rw-r--r-- | server/src/config.cppm | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/server/src/config.cppm b/server/src/config.cppm index 01e1055..9c37457 100644 --- a/server/src/config.cppm +++ b/server/src/config.cppm | |||
| @@ -7,19 +7,20 @@ namespace routemon::config { | |||
| 7 | 7 | ||
| 8 | export struct rwgps | 8 | export struct rwgps |
| 9 | { | 9 | { |
| 10 | std::string api_key_filename = {}; | 10 | std::filesystem::path api_key_filename = {}; |
| 11 | std::string api_secret_filename = {}; | 11 | std::filesystem::path api_secret_filename = {}; |
| 12 | std::string auth_token_filename = {}; | 12 | std::filesystem::path auth_token_filename = {}; |
| 13 | }; | 13 | }; |
| 14 | 14 | ||
| 15 | export struct situations | 15 | export struct situations |
| 16 | { | 16 | { |
| 17 | std::string datex2_filename = {}; | 17 | std::filesystem::path datex2_filename = {}; |
| 18 | }; | 18 | }; |
| 19 | 19 | ||
| 20 | export struct database | 20 | export struct database |
| 21 | { | 21 | { |
| 22 | std::string sqlite3_filename = {}; | 22 | std::filesystem::path sqlite3_filename = {}; |
| 23 | std::filesystem::path migrations_dir = {}; | ||
| 23 | }; | 24 | }; |
| 24 | 25 | ||
| 25 | export struct http_server | 26 | export struct http_server |