Use set for CORS variables
This commit is contained in:
@@ -11,8 +11,8 @@ PR = re.compile(r"\<([a-zA-Z_][a-zA-Z0-9_]*)\>")
|
|||||||
|
|
||||||
|
|
||||||
class CORS:
|
class CORS:
|
||||||
Origins: list[str]
|
Origins: set[str]
|
||||||
Methods: list[str]
|
Methods: set[str]
|
||||||
Disabled: bool
|
Disabled: bool
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user