mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-29 05:28:00 +02:00
Delete remote playlists
+ minor ui changes
This commit is contained in:
parent
db0009d186
commit
7bf279438f
9 changed files with 62 additions and 16 deletions
|
@ -6,6 +6,12 @@ export function useSanitize(txt) {
|
|||
});
|
||||
}
|
||||
|
||||
export function useVerifyAuth(hash) {
|
||||
return /[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}/.test(
|
||||
hash,
|
||||
);
|
||||
}
|
||||
|
||||
export function useRoute(l) {
|
||||
history.pushState({}, '', l);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue