Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into staging

This commit is contained in:
Cohee 2023-09-21 20:46:11 +03:00
commit 857ce2c577
1 changed files with 1 additions and 1 deletions

View File

@ -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 })