Spaces:
Sleeping
Sleeping
Yurii Paniv
commited on
Commit
•
e5a6cc7
1
Parent(s):
d2ca438
Change app config
Browse files
app.ini
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
wsgi-file = main.py
|
3 |
callable = app
|
4 |
http = :5000
|
5 |
-
processes =
|
6 |
master = true
|
7 |
vacuum = true
|
8 |
die-on-term = true
|
|
|
2 |
wsgi-file = main.py
|
3 |
callable = app
|
4 |
http = :5000
|
5 |
+
processes = 1
|
6 |
master = true
|
7 |
vacuum = true
|
8 |
die-on-term = true
|
main.py
CHANGED
@@ -25,7 +25,6 @@ FIRST_STEP = '''Використовувати бота просто: надіш
|
|
25 |
|
26 |
bot = telebot.TeleBot(TOKEN, parse_mode=None)
|
27 |
app = Flask(__name__,)
|
28 |
-
app.config['MAX_CONTENT_LENGTH'] = 120 * 1024
|
29 |
|
30 |
|
31 |
@app.route('/')
|
|
|
25 |
|
26 |
bot = telebot.TeleBot(TOKEN, parse_mode=None)
|
27 |
app = Flask(__name__,)
|
|
|
28 |
|
29 |
|
30 |
@app.route('/')
|