浏览代码

Disable the debug error page

Fixes #11
pull/33/head
父节点
当前提交
9738a31915
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. +3
    -0
      src/app/views/app.py

+ 3
- 0
src/app/views/app.py 查看文件

@@ -21,6 +21,9 @@ except:
# Example use of the smtp server, insert username
# web.sendmail("beelance@ntnu.no", "<username>@stud.ntnu.no", "Hello", "Grz, the beelance app is running")

# Disable the debug error page
web.config.debug = False

# Define application routes
urls = (
'/', 'Index',


正在加载...
取消
保存