2022-04-14 12:33:53 +00:00
|
|
|
from app.classes.web.base_handler import BaseHandler
|
|
|
|
|
|
|
|
|
|
|
|
class BaseApiHandler(BaseHandler):
|
2022-05-05 00:32:09 +00:00
|
|
|
def check_xsrf_cookie(self) -> None:
|
2022-04-14 12:33:53 +00:00
|
|
|
# Disable XSRF protection on API routes
|
|
|
|
pass
|