mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-18 06:49:58 -05:00
move trimFileProtocol to file_utils.js
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
function trimFileProtocol(str) {
|
||||
return str.startsWith("file://") ? str.slice(7) : str;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user