Move versioning to source.

This commit is contained in:
Paul committed 2021-05-03 15:03:30 +01:00
1 parent fa960ebc94
commit c086fe7ac4
7 files changed
+14 -8

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ use rocket_contrib::json::JsonValue;
#[get("/")]
pub async fn root() -> JsonValue {
json!({
"revolt": "0.4.1-alpha.4",
"revolt": crate::version::VERSION,
"features": {
"registration": !*DISABLE_REGISTRATION,
"captcha": {