mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-02-06 15:05:00 +00:00
One more fix #27
This commit is contained in:
parent
f5caf1cac7
commit
a9783c6081
5
web.py
5
web.py
|
@ -7,7 +7,7 @@
|
||||||
# Namyheon Go (Catswords Research) <gnh1201@gmail.com>
|
# Namyheon Go (Catswords Research) <gnh1201@gmail.com>
|
||||||
# https://github.com/gnh1201/caterpillar
|
# https://github.com/gnh1201/caterpillar
|
||||||
# Created at: 2024-05-20
|
# Created at: 2024-05-20
|
||||||
# Updated at: 2024-07-09
|
# Updated at: 2024-07-10
|
||||||
#
|
#
|
||||||
|
|
||||||
from flask import Flask, request, redirect, url_for, render_template
|
from flask import Flask, request, redirect, url_for, render_template
|
||||||
|
@ -94,6 +94,7 @@ if __name__ == "__main__":
|
||||||
Extension.set_protocol('http')
|
Extension.set_protocol('http')
|
||||||
|
|
||||||
# load extensions
|
# load extensions
|
||||||
map(Extension.register, use_extensions.split(','))
|
for s in use_extensions.split(','):
|
||||||
|
Extension.register(s)
|
||||||
|
|
||||||
app.run(debug=True, host='0.0.0.0', port=listening_port)
|
app.run(debug=True, host='0.0.0.0', port=listening_port)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user