🌐 feat: enable cors

This commit is contained in:
Florian Hönicke
2023-05-15 10:54:32 +02:00
parent 53ae1d6f4c
commit 1b0c2d5461
3 changed files with 3 additions and 1 deletions

View File

@@ -79,6 +79,7 @@ class CustomGateway(CompositeGateway):
f'Please, let http port ({http_port}) be 8080 for nginx to work'
)
kwargs['runtime_args']['port'][http_idx] = 8082
kwargs['cors'] = True
super().__init__(**kwargs)
# remove potential clashing arguments from kwargs