presort vendored paths list.
an attempt to fix https://github.com/lnbits/lnbits/issues/99.
This commit is contained in:
+1
-1
@@ -101,7 +101,7 @@ def get_vendored(ext: str, prefer_minified: bool = False) -> List[str]:
|
|||||||
elif minified not in paths:
|
elif minified not in paths:
|
||||||
paths.append(path)
|
paths.append(path)
|
||||||
|
|
||||||
return paths
|
return sorted(paths)
|
||||||
|
|
||||||
|
|
||||||
def url_for_vendored(abspath: str) -> str:
|
def url_for_vendored(abspath: str) -> str:
|
||||||
|
|||||||
Reference in New Issue
Block a user