From 60e0d27ddb2cbd0a44255664d9e299dd4d4bb021 Mon Sep 17 00:00:00 2001 From: 622aa39c1f9b166ab1a38c05 <622aa39c1f9b166ab1a38c05@devide> Date: Mon, 10 Jul 2023 03:14:00 +0000 Subject: [PATCH] Mon Jul 10 03:14:00 UTC 2023 inscode --- src/js/config.js | 2 +- src/js/sd.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/config.js b/src/js/config.js index 1e55682..8861da8 100644 --- a/src/js/config.js +++ b/src/js/config.js @@ -20,7 +20,7 @@ export default { "prompt_template":"", "api_prompt_prefix":"", "show_profile_setting":false, - "common_sd_api": "https://api.quickapi.cloud/common-sd/", + "common_sd_api": "https://api.quickapi.cloud/temporary/sd/", }, diff --git a/src/js/sd.js b/src/js/sd.js index 04922f0..a095911 100644 --- a/src/js/sd.js +++ b/src/js/sd.js @@ -19,7 +19,7 @@ export default { }; let api = config?.sd_api - if (api.indexOf('sd/') === -1) { + if (api.indexOf('/sd') === -1) { api += '/sdapi/v1/txt2img' } axios.post(api, data, { headers }).then(response => { -- GitLab