进度修复
This commit is contained in:
1 parent
63663f3bb7
commit
55dc52be37
7 files changed
+13
-6
No files matched your search
@@ -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 = '';
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user