mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
[fix] Enable autojson in Bottle app to encode additional routes result
This commit is contained in:
parent
804752df3e
commit
e52a4085af
1 changed files with 1 additions and 1 deletions
|
@ -579,7 +579,7 @@ class Interface(BaseInterface):
|
|||
"""
|
||||
def __init__(self, actionsmap, routes={}):
|
||||
# TODO: Return OK to 'OPTIONS' xhr requests (l173)
|
||||
app = Bottle(autojson=False)
|
||||
app = Bottle(autojson=True)
|
||||
|
||||
## Wrapper which sets proper header
|
||||
def apiheader(callback):
|
||||
|
|
Loading…
Reference in a new issue