mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-08-02 06:52:14 +00:00
Add version endpoint
This commit is contained in:
parent
374cc64601
commit
76ec0e888b
2 changed files with 25 additions and 0 deletions
|
|
@ -1472,6 +1472,10 @@ if (isset($_GET['query'])) {
|
|||
'solr_documents' => $solr_documents
|
||||
));
|
||||
break;
|
||||
case "version":
|
||||
echo json_encode(array(
|
||||
'version' => $GLOBALS['MAILCOW_GIT_VERSION']
|
||||
));
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue