pipeworks_mud_mapper.services.app_config
Application configuration helpers.
This module centralizes user-configurable settings loaded from config/server.ini. Defaults are used when the file is missing so the app remains runnable out of the box.
Functions
Return configured filesystem paths used by the app. |
|
Return server settings used by the app (for example, the default port). |
|
|
Format a path for UI display (relative when possible, trailing slash). |
|
Return a shortened path for compact UI labels. |
Module Contents
- pipeworks_mud_mapper.services.app_config.get_path_settings()[source]
Return configured filesystem paths used by the app.
Note: changes to config/server.ini require an app restart to take effect.
- pipeworks_mud_mapper.services.app_config.get_server_settings()[source]
Return server settings used by the app (for example, the default port).