From a6920c0b0bb4078b142988d55806e1196219fcef Mon Sep 17 00:00:00 2001 From: Jingyi Niu Date: Thu, 18 Apr 2024 08:40:33 +0800 Subject: [PATCH] improved validators --- javascript/txt2img-config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/javascript/txt2img-config.js b/javascript/txt2img-config.js index 2b167a5c..2bc74ab2 100644 --- a/javascript/txt2img-config.js +++ b/javascript/txt2img-config.js @@ -185,12 +185,12 @@ function uploadFileToS3(files, groupName, username) { document.querySelector("#aws_api_gateway_url_token > label > textarea")["value"]: ""; if (!apiGatewayUrl) { - alert("Please load the API Gateway URL by click refresh button."); + alert("Please load the API URL (ApiGatewayUrl) by click refresh button in API and User Settings tab."); return; } if (!apiToken) { - alert("Please load the API Gateway Token by click refresh button."); + alert("Please load the API Token (ApiGatewayUrlToken) by click refresh button in API and User Settings tab."); return; }