mirror of
https://github.com/aljazceru/dev-gpt.git
synced 2025-12-21 07:34:20 +01:00
🌐 feat: enable cors
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user