Skip to main content

VERSION_PATH

Constant VERSION_PATH 

Source
pub const VERSION_PATH: &str = "/api/version";
Expand description

Which build of gglib the daemon is running.

Not in CLI_ROUTE_CONTRACT: the CLI reads its own compiled-in constants and takes the daemon’s from HEALTH_PATH. This route exists for the dashboard, which has no compiled-in version of its own.