mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
barebones webhost
includes linux compat
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
from waitress import serve
|
||||
import multiprocessing
|
||||
|
||||
from __init__ import app
|
||||
|
||||
if __name__ == "__main__":
|
||||
multiprocessing.freeze_support()
|
||||
multiprocessing.set_start_method('spawn')
|
||||
serve(app, port=80, threads=1)
|
||||
|
||||
Reference in New Issue
Block a user