mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-28 05:08:00 +02:00
chore: update dependencies
This commit is contained in:
parent
33cd0008eb
commit
0cf17ae50e
5 changed files with 307 additions and 329 deletions
|
@ -432,7 +432,8 @@ input[type='range']::-moz-range-track {
|
|||
left: auto;
|
||||
right: -0.5rem;
|
||||
}
|
||||
#btn-rewind, #btn-forward {
|
||||
#btn-rewind,
|
||||
#btn-forward {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -55,7 +55,7 @@ export async function getJsonHyp(path) {
|
|||
|
||||
export async function getJsonAuth(path, opts = {}) {
|
||||
const root = useStore().getItem('authapi') || PIPED_INSTANCE;
|
||||
|
||||
|
||||
return await getJson('https://' + root + path, opts);
|
||||
}
|
||||
|
||||
|
|
|
@ -5,10 +5,11 @@ export const PL_EXP =
|
|||
/[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}/;
|
||||
|
||||
export function useSanitize(txt) {
|
||||
return ('' + txt).replace(AMP, '&')
|
||||
.replace(/&/g, '&')
|
||||
.replace(/>/g, '>')
|
||||
.replace(/</g, '<');
|
||||
return ('' + txt)
|
||||
.replace(AMP, '&')
|
||||
.replace(/&/g, '&')
|
||||
.replace(/>/g, '>')
|
||||
.replace(/</g, '<');
|
||||
}
|
||||
|
||||
export function useAutoTheme(t) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue