Rename sd-next/upscalers to sd/next/upscalers

This commit is contained in:
valadaptive 2023-12-03 09:25:09 -05:00
parent baae99831d
commit 9d4990d25d
2 changed files with 2 additions and 2 deletions

View File

@ -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()),

View File

@ -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';