mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Small fixes
This commit is contained in:
parent
15f815ffe9
commit
33bbe61ece
@ -122,13 +122,12 @@ def test_server(key=None):
|
||||
def server_info():
|
||||
"""Returns basic information about the server.
|
||||
|
||||
:return: name (String), version (Tuple), versionstring (String), db_status (String). Additional keys can be added at any point, but will not be removed within API version.
|
||||
:return: name (String), version (Tuple), versionstring (String), db_status (Mapping). Additional keys can be added at any point, but will not be removed within API version.
|
||||
:rtype: Dictionary
|
||||
"""
|
||||
|
||||
|
||||
response.set_header("Access-Control-Allow-Origin","*")
|
||||
response.set_header("Content-Type","application/json")
|
||||
|
||||
return {
|
||||
"name":malojaconfig["NAME"],
|
||||
|
Loading…
Reference in New Issue
Block a user