fix indent

This commit is contained in:
dakkar 2025-03-15 19:36:28 +00:00
parent d0a074ac89
commit c9874f72b1

View file

@ -186,7 +186,7 @@ async function fetchNote() {
fetchingTheNote.value = false; fetchingTheNote.value = false;
theNote.value = null; theNote.value = null;
} }
} }
const requestUrl = new URL(props.url); const requestUrl = new URL(props.url);
if (!['http:', 'https:'].includes(requestUrl.protocol)) throw new Error('invalid url'); if (!['http:', 'https:'].includes(requestUrl.protocol)) throw new Error('invalid url');