mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Do shallow clone to speed-up extension installs
This commit is contained in:
@ -705,6 +705,8 @@ async function getExtensionVersion(extensionName) {
|
||||
export async function installExtension(url) {
|
||||
console.debug('Extension import started', url);
|
||||
|
||||
toastr.info('Please wait...', 'Importing extension');
|
||||
|
||||
const request = await fetch('/api/extensions/install', {
|
||||
method: 'POST',
|
||||
headers: getRequestHeaders(),
|
||||
|
Reference in New Issue
Block a user