From e2b1a5f15da9e1900b42da9f3e4c232294b9e9b8 Mon Sep 17 00:00:00 2001 From: Siyuan Ling Date: Mon, 12 Feb 2024 20:31:15 +0800 Subject: [PATCH] update --- .../workflows/azure-static-web-apps-polite-smoke-01a2a4f00.yml | 2 +- app/components/chat.tsx | 2 ++ package.json | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/azure-static-web-apps-polite-smoke-01a2a4f00.yml b/.github/workflows/azure-static-web-apps-polite-smoke-01a2a4f00.yml index 9436ee1a576..71d389b804d 100644 --- a/.github/workflows/azure-static-web-apps-polite-smoke-01a2a4f00.yml +++ b/.github/workflows/azure-static-web-apps-polite-smoke-01a2a4f00.yml @@ -30,7 +30,7 @@ jobs: # For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig app_location: "/" # App source code path api_location: "" # Api source code path - optional - output_location: "" # Built app content directory - optional + output_location: "build" # Built app content directory - optional ###### End of Repository/Build Configurations ###### close_pull_request_job: diff --git a/app/components/chat.tsx b/app/components/chat.tsx index 39abdd97b24..347acaaaf10 100644 --- a/app/components/chat.tsx +++ b/app/components/chat.tsx @@ -783,6 +783,7 @@ function _Chat() { }; const onRightClick = (e: any, message: ChatMessage) => { // copy to clipboard + /* Disable right click copy as it is disturbing. if (selectOrCopy(e.currentTarget, message.content)) { if (userInput.length === 0) { setUserInput(message.content); @@ -790,6 +791,7 @@ function _Chat() { e.preventDefault(); } + */ }; const deleteMessage = (msgId?: string) => { diff --git a/package.json b/package.json index b31d6a901a0..03a8b69c8c7 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,9 @@ "name": "nextchat", "private": false, "license": "mit", + "engines": { + "node": "18.17.1" + }, "scripts": { "dev": "next dev", "build": "cross-env BUILD_MODE=standalone next build",