mirror of
https://github.com/heyarne/berliner-winter.git
synced 2026-05-06 19:23:39 +02:00
Fix content type for articles
This commit is contained in:
parent
da40746d3b
commit
4e2b135ac2
1 changed files with 1 additions and 0 deletions
|
|
@ -56,6 +56,7 @@ def articles():
|
|||
}
|
||||
conn.close()
|
||||
|
||||
bottle.response.content_type = "application/json"
|
||||
return json.dumps([article for article_id, article in articles.items()])
|
||||
|
||||
@bottle.get('/static/<filepath:path>')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue