From b6e6dc141f124fca0ce1c78e681f2961e2391b9f Mon Sep 17 00:00:00 2001 From: infra Date: Wed, 1 Nov 2023 00:10:39 -0400 Subject: [PATCH] Fix nginx rewrites --- js/package.json | 2 +- js/src/cli/nginx.conf | 2 +- python/langsmith/cli/nginx.conf | 2 +- python/pyproject.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/js/package.json b/js/package.json index 72434e76f..d345dce9c 100644 --- a/js/package.json +++ b/js/package.json @@ -1,6 +1,6 @@ { "name": "langsmith", - "version": "0.0.46", + "version": "0.0.47", "description": "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform.", "files": [ "dist/", diff --git a/js/src/cli/nginx.conf b/js/src/cli/nginx.conf index ddacc6dbf..caf5831e1 100644 --- a/js/src/cli/nginx.conf +++ b/js/src/cli/nginx.conf @@ -26,7 +26,7 @@ server { } location = /api/playground { - rewrite /api/playground(.*) $1 break; + rewrite /api/playground / break; chunked_transfer_encoding off; proxy_set_header Connection ''; proxy_http_version 1.1; diff --git a/python/langsmith/cli/nginx.conf b/python/langsmith/cli/nginx.conf index ddacc6dbf..caf5831e1 100644 --- a/python/langsmith/cli/nginx.conf +++ b/python/langsmith/cli/nginx.conf @@ -26,7 +26,7 @@ server { } location = /api/playground { - rewrite /api/playground(.*) $1 break; + rewrite /api/playground / break; chunked_transfer_encoding off; proxy_set_header Connection ''; proxy_http_version 1.1; diff --git a/python/pyproject.toml b/python/pyproject.toml index 08a290423..6742fd37b 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "langsmith" -version = "0.0.55" +version = "0.0.56" description = "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform." authors = ["LangChain "] license = "MIT"