mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-09 08:38:53 +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() {
|
||||
const extensionName = $(this).data('name');
|
||||
try {
|
||||
const response = await fetch('/update_extension', {
|
||||
const response = await fetch('/api/extensions/update', {
|
||||
method: 'POST',
|
||||
headers: getRequestHeaders(),
|
||||
body: JSON.stringify({ extensionName })
|
||||
|
Loading…
x
Reference in New Issue
Block a user