1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-12-23 01:16:18 +00:00

We "have" a valid license

Some clients stop working after 30 days if the server returns
it doesn't have a license.
This commit is contained in:
spl0k 2013-07-16 11:53:37 +02:00
parent b324e1da29
commit a3588222d0

View File

@ -9,5 +9,5 @@ def ping():
@app.route('/rest/getLicense.view', methods = [ 'GET', 'POST' ]) @app.route('/rest/getLicense.view', methods = [ 'GET', 'POST' ])
def license(): def license():
return request.formatter({ 'license': { 'valid': False } }) return request.formatter({ 'license': { 'valid': True } })