chore: generate
This commit is contained in:
parent
2039c90c06
commit
d4ad650f73
4 changed files with 16 additions and 20 deletions
|
|
@ -3,8 +3,7 @@ import { fileURLToPath } from "node:url"
|
|||
export function resolveExternalURL(value: string) {
|
||||
if (!URL.canParse(value)) return undefined
|
||||
const url = new URL(value)
|
||||
if (url.protocol === "http:" || url.protocol === "https:" || url.protocol === "mailto:")
|
||||
return url.href
|
||||
if (url.protocol === "http:" || url.protocol === "https:" || url.protocol === "mailto:") return url.href
|
||||
return undefined
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -369,8 +369,7 @@ function DesktopRoot(props: { windowState: DesktopWindowState }) {
|
|||
function App() {
|
||||
const wslServers = useWslServers()
|
||||
const ready = createMemo(
|
||||
() =>
|
||||
!defaultServer.loading && !sidecar.loading && !locale.loading && !wslServers.isLoading,
|
||||
() => !defaultServer.loading && !sidecar.loading && !locale.loading && !wslServers.isLoading,
|
||||
)
|
||||
const servers = createMemo(() => {
|
||||
const data = initializationData(sidecar)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue