Skip to content

Commit

Permalink
fix: fix docs when using subdomain (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
langchain-infra authored Aug 29, 2024
1 parent 1d0ae85 commit aff0979
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/langsmith/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ maintainers:
email: [email protected]
description: Helm chart to deploy the langsmith application and all services it depends on.
type: application
version: 0.7.1
version: 0.7.2
appVersion: "0.7.10"
4 changes: 4 additions & 0 deletions charts/langsmith/templates/backend/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ spec:
{{- include "langsmith.commonEnv" . | nindent 12 }}
- name: PORT
value: {{ .Values.backend.containerPort | quote }}
{{- with .Values.ingress.subdomain }}
- name: DOCS_PREFIX
value: /{{ . }}/api
{{- end }}
{{- with .Values.backend.deployment.extraEnv }}
{{- toYaml . | nindent 12 }}
{{- end }}
Expand Down
1 change: 0 additions & 1 deletion charts/langsmith/templates/frontend/config-map.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ data:
}
location = /{{ .Values.ingress.subdomain }}/api/docs {
rewrite /{{ .Values.ingress.subdomain }}/docs /api/v1/docs break;
proxy_set_header Connection '';
proxy_http_version 1.1;
proxy_buffering off;
Expand Down

0 comments on commit aff0979

Please sign in to comment.