oops
This commit is contained in:
parent
9eec1e00c5
commit
0b2087736a
@ -33,10 +33,6 @@ class XC(FastAPI):
|
|||||||
"xc": self.xc_handler,
|
"xc": self.xc_handler,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
for endpoint, handler in self.ws_endpoints.items():
|
|
||||||
app.add_api_websocket_route(f"/{endpoint}/", handler)
|
|
||||||
|
|
||||||
for endpoint, handler in self.endpoints.items():
|
for endpoint, handler in self.endpoints.items():
|
||||||
app.add_api_route(f"/{endpoint}", handler, methods=["POST"],
|
app.add_api_route(f"/{endpoint}", handler, methods=["POST"],
|
||||||
include_in_schema=False)
|
include_in_schema=False)
|
||||||
|
@ -10,9 +10,6 @@ import traceback
|
|||||||
sys.path.insert(1,'..')
|
sys.path.insert(1,'..')
|
||||||
from . import cache, redis_cache, genius, lrclib
|
from . import cache, redis_cache, genius, lrclib
|
||||||
|
|
||||||
logger = logging.getLogger()
|
|
||||||
logger.setLevel(logging.INFO)
|
|
||||||
|
|
||||||
class Aggregate:
|
class Aggregate:
|
||||||
"""
|
"""
|
||||||
Aggregate all source methods
|
Aggregate all source methods
|
||||||
|
Loading…
x
Reference in New Issue
Block a user