Преглед на файлове

Disable the debug error page

Fixes #11
pull/33/head
Sindre Stephansen преди 5 години
родител
ревизия
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',


Loading…
Отказ
Запис