Skip to content

Commit 76cf932

Browse files
committed
ktl-744 chore: remove obsolete Flask settings
1 parent 8d4e7b2 commit 76cf932

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

kotlin-website.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,4 @@ def add_header(request):
568568
print("Unknown argument: " + argv_copy[1])
569569
sys.exit(1)
570570
else:
571-
app.run(host="0.0.0.0", port=8080, debug=True, threaded=True, **{"extra_files": {
572-
'/src/data/_nav.yml',
573-
*glob.glob("/src/pages-includes/**/*", recursive=True),
574-
}})
571+
app.run(host="0.0.0.0", port=8080, debug=True, threaded=True, use_debugger=False, use_reloader=False)

mysettings.py

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
CACHE_TYPE = "null"
44
PREFERRED_URL_SCHEME = 'http'
5-
SERVER_NAME = 'localhost:8080'
65
FLATPAGES_EXTENSION = '.md'
76
FLATPAGES_HTML_RENDERER = jinja_aware_markdown
87
FREEZER_IGNORE_404_NOT_FOUND = True

0 commit comments

Comments
 (0)