diff options
author | xengineering <me@xengineering.eu> | 2024-05-01 10:56:26 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2024-05-01 10:56:26 +0200 |
commit | d982951ec15326487eefa80261a0f466d64e2ba0 (patch) | |
tree | 9506833546ea177b4bf985e39981153ae914a8fc /model | |
parent | 01699e3c9339cd7880f632be088d770225b84d68 (diff) | |
download | ceres-d982951ec15326487eefa80261a0f466d64e2ba0.tar ceres-d982951ec15326487eefa80261a0f466d64e2ba0.tar.zst ceres-d982951ec15326487eefa80261a0f466d64e2ba0.zip |
view: Add /version endpoint
This allows to get the server version via HTTP. The output of `git
describe --dirty --always` and a line break is returned together with
HTTP 200.
If the server build contains no version information an error message and
HTTP 404 is returned.
Diffstat (limited to 'model')
0 files changed, 0 insertions, 0 deletions