fix: crosspost problems/cleanup for instance hosts
This commit is contained in:
4 files changed
+46
-44
No files matched your search
@@ -23,9 +23,7 @@
|
||||
let crosspost = $derived.by<PostFormInit>(() => {
|
||||
const crosspostParam = page.url.searchParams.get('crosspost')
|
||||
try {
|
||||
return crosspostParam
|
||||
? JSON.parse(atob(crosspostParam) || '{}')
|
||||
: undefined
|
||||
return crosspostParam ? JSON.parse(crosspostParam || '{}') : undefined
|
||||
} catch {
|
||||
return undefined
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user