Лимит запросов по IP, мелкие правки
This commit is contained in:
@@ -27,9 +27,10 @@
|
||||
from db import read
|
||||
import requests
|
||||
from json import loads
|
||||
import asyncio
|
||||
|
||||
# Synchronous database read
|
||||
CONFIG = read()
|
||||
CONFIG = asyncio.run(read())
|
||||
url_prefix = CONFIG['user_api_url']
|
||||
|
||||
def call(api_url, data, pre=True, fix=True):
|
||||
|
||||
Reference in New Issue
Block a user