misc: Change default instance url

This commit is contained in:
Xyphyn committed 2023-07-04 13:46:10 -07:00
1 parent 3bc9c67bc4
commit 33a31f8a25
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -30,6 +30,7 @@ export async function handle({ event, resolve }) {
})
if (!data.ok) {
console.log(`${data.status}: ${data.statusText}`)
return new Response(
JSON.stringify({
message: await data.text(),
+1 -1
View File
@@ -6,7 +6,7 @@ import {
import { get, writable } from 'svelte/store'
import { PUBLIC_PROXY_URL } from '$env/static/public'
export const DEFAULT_INSTANCE_URL = 'programming.dev'
export const DEFAULT_INSTANCE_URL = 'lemmy.world'
export let instance_url = writable(DEFAULT_INSTANCE_URL)
export function getClient(instance?: string): LemmyHttp {