remove .parse usage (#8016)

* remove .parse usage

* add one more usage
This commit is contained in:
Hailey
2025-03-17 15:06:26 -07:00
committed by GitHub
parent 4b7bda705e
commit c612fca32a
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -323,7 +323,7 @@ export function createBskyAppAbsoluteUrl(path: string): string {
export function createProxiedUrl(url: string): string {
let u
try {
u = URL.parse(url)
u = new URL(url)
} catch {
return url
}