mirror of
https://github.com/EDCD/EDDN.git
synced 2025-04-25 20:52:13 +03:00
Monitor: Make EnableCors.apply() static
This commit is contained in:
parent
0400854390
commit
1c245735fd
@ -284,7 +284,8 @@ class EnableCors(object):
|
||||
name = 'enable_cors'
|
||||
api = 2
|
||||
|
||||
def apply(self, fn, context):
|
||||
@staticmethod
|
||||
def apply(fn, context):
|
||||
"""
|
||||
Apply a CORS handler.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user