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