replace acount of remove follow

This commit is contained in:
sevichecc 2022-11-19 17:58:03 +08:00
parent 02b3421515
commit 5456694bb0

View file

@ -24,7 +24,7 @@
.then( .then(
({ links }) => links.find((link: { rel: string }) => link.rel === 'http://ostatus.org/schema/1.0/subscribe').template ({ links }) => links.find((link: { rel: string }) => link.rel === 'http://ostatus.org/schema/1.0/subscribe').template
) )
.then(template => (window.location.href = template.replace('{uri}', `sevichecc@kongwoo.icu`))) .then(template => (window.location.href = template.replace('{uri}', `blog@seviche.cc`)))
.catch(error => console.error(error)) .catch(error => console.error(error))
$: if (input) $: if (input)
input.length < 5 ? (status = '') : input.includes('@') && input.includes('.') ? (status = 'success') : (status = 'warning') input.length < 5 ? (status = '') : input.includes('@') && input.includes('.') ? (status = 'success') : (status = 'warning')