feat: add CORS policy to openwebui gateway route
This commit is contained in:
@@ -68,7 +68,20 @@ spec:
|
||||
parentRefs:
|
||||
- name: shared-gateway
|
||||
namespace: default
|
||||
|
||||
filters:
|
||||
- type: CORS
|
||||
cors:
|
||||
allowOrigins:
|
||||
- "*"
|
||||
allowMethods:
|
||||
- "*"
|
||||
allowHeaders:
|
||||
- "*"
|
||||
exposeHeaders:
|
||||
- "*"
|
||||
maxAge: 3600
|
||||
allowCredentials: true
|
||||
|
||||
extraEnvVars:
|
||||
- name: WEBUI_URL
|
||||
value: "https://open-webui.k8s.hnrx.net"
|
||||
|
||||
Reference in New Issue
Block a user