mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-10 17:10:45 +01:00
fix extension update endpoint
This commit is contained in:
parent
ad9382a98c
commit
22a0bf9451
@ -610,7 +610,7 @@ async function showExtensionsDetails() {
|
|||||||
async function onUpdateClick() {
|
async function onUpdateClick() {
|
||||||
const extensionName = $(this).data('name');
|
const extensionName = $(this).data('name');
|
||||||
try {
|
try {
|
||||||
const response = await fetch('/update_extension', {
|
const response = await fetch('/api/extensions/update', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: getRequestHeaders(),
|
headers: getRequestHeaders(),
|
||||||
body: JSON.stringify({ extensionName })
|
body: JSON.stringify({ extensionName })
|
||||||
|
Loading…
x
Reference in New Issue
Block a user