Skip to content

Commit

Permalink
Use text/plain Content-Type for logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Werkov committed Apr 12, 2016
1 parent 097ef79 commit b6391b1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions astrid/pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,11 @@ class DashboardPage(BasePage):
_cp_config = {'tools.staticdir.on' : True,
'tools.staticdir.dir' : cherrypy.config.get("repodir"),
'tools.staticdir.indexlister': astrid.server.htmldir,
'tools.staticdir.content_types': {
'aux': 'text/plain',
'log': 'text/plain',
'out': 'text/plain'
}
# 'tools.staticdir.index' : 'index.html',
}

Expand Down

0 comments on commit b6391b1

Please sign in to comment.