mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-02 10:57:45 +01:00
Merge pull request #1448 from valadaptive/sd-next-upscalers
Rename sd-next/upscalers to sd/sd-next/upscalers
This commit is contained in:
commit
d6fdafcacf
@ -967,7 +967,7 @@ async function getAutoRemoteUpscalers() {
|
||||
|
||||
async function getVladRemoteUpscalers() {
|
||||
try {
|
||||
const result = await fetch('/api/sd-next/upscalers', {
|
||||
const result = await fetch('/api/sd/sd-next/upscalers', {
|
||||
method: 'POST',
|
||||
headers: getRequestHeaders(),
|
||||
body: JSON.stringify(getSdRequestBody()),
|
||||
|
@ -291,7 +291,7 @@ function registerEndpoints(app, jsonParser) {
|
||||
}
|
||||
});
|
||||
|
||||
app.post('/api/sd-next/upscalers', jsonParser, async (request, response) => {
|
||||
app.post('/api/sd/sd-next/upscalers', jsonParser, async (request, response) => {
|
||||
try {
|
||||
const url = new URL(request.body.url);
|
||||
url.pathname = '/sdapi/v1/upscalers';
|
||||
|
Loading…
x
Reference in New Issue
Block a user