进度修复

This commit is contained in:
tianmo committed 2026-10-30 16:31:27 +08:00
1 parent 63663f3bb7
commit 55dc52be37
7 files changed
+13 -6

No files matched your search

+1 -1
View File
@@ -45,7 +45,7 @@
(function () {
try {
const pathname = decodeURIComponent(new URL('.', location.href).pathname).replace(/\\/g, '/');
window.SpinePluginRoot = pathname.replace(/^\/([A-Za-z]:)/, '$1');
window.SpinePluginRoot = pathname.replace(/^\/+([A-Za-z]:)/, '$1');
} catch (error) {
window.SpinePluginRoot = '';
}