fix the phoenix endpoint (#1691)

This commit is contained in:
sunghyunkang1111
2023-11-10 18:53:23 -06:00
committed by GitHub
parent 40b8127a6f
commit 0ab07419ce
5 changed files with 6 additions and 6 deletions

View File

@@ -48,7 +48,7 @@ describe("Query Copilot Client", () => {
const feedbackUri = userContext.features.disableCopilotPhoenixGateaway
? createUri("https://copilotorchestrater.azurewebsites.net/", "feedback")
: createUri(useQueryCopilot.getState().notebookServerInfo.notebookServerEndpoint, "feedback");
: createUri(useQueryCopilot.getState().notebookServerInfo.notebookServerEndpoint, "public/feedback");
it("should call fetch with the payload with like", async () => {
const mockFetch = jest.fn().mockResolvedValueOnce({});