Mon Jul 10 03:14:00 UTC 2023 inscode

上级 479499ba
...@@ -20,7 +20,7 @@ export default { ...@@ -20,7 +20,7 @@ export default {
"prompt_template":"", "prompt_template":"",
"api_prompt_prefix":"", "api_prompt_prefix":"",
"show_profile_setting":false, "show_profile_setting":false,
"common_sd_api": "https://api.quickapi.cloud/common-sd/", "common_sd_api": "https://api.quickapi.cloud/temporary/sd/",
}, },
......
...@@ -19,7 +19,7 @@ export default { ...@@ -19,7 +19,7 @@ export default {
}; };
let api = config?.sd_api let api = config?.sd_api
if (api.indexOf('sd/') === -1) { if (api.indexOf('/sd') === -1) {
api += '/sdapi/v1/txt2img' api += '/sdapi/v1/txt2img'
} }
axios.post(api, data, { headers }).then(response => { axios.post(api, data, { headers }).then(response => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册