refacto: look after remanso now

This commit is contained in:
Julien Calixte
2026-02-14 14:40:11 +01:00
parent 4bd79b8f6c
commit 8b921f1adb
8 changed files with 26 additions and 560 deletions

View File

@@ -20,7 +20,7 @@ export const getUrl = async ({ did, rkey }: { did: string; rkey: string }) => {
await getEndpoint(did),
)
url.searchParams.set("repo", did)
url.searchParams.set("collection", "space.litenote.note")
url.searchParams.set("collection", "space.remanso.note")
url.searchParams.set("rkey", rkey)
return url.toString()

View File

@@ -92,7 +92,7 @@ export const getUserSettingsContent = async (
repo: string,
files: RepoFile[],
): Promise<Omit<UserSettings, "chosenFontFamily"> | null> => {
const configFile = files.find((file) => file.path === ".litenote.json")
const configFile = files.find((file) => file.path === ".remanso.json")
if (!configFile?.sha) {
return null