mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 12:09:26 +00:00
allow query strings (#582)
This commit is contained in:
@@ -32,7 +32,7 @@ if (configScript) {
|
||||
// Use the data-shoelace attribute
|
||||
setBasePath(configScript.getAttribute('data-shoelace')!);
|
||||
} else {
|
||||
const fallbackScript = scripts.find(s => /shoelace(\.min)?\.js$/.test(s.src));
|
||||
const fallbackScript = scripts.find(s => /shoelace(\.min)?\.js($|\?)/.test(s.src));
|
||||
let path = '';
|
||||
|
||||
if (fallbackScript) {
|
||||
|
||||
Reference in New Issue
Block a user