refacto: look after remanso now
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user