mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-23 15:17:09 +00:00
Fix root hashing due to missing root dirs
This commit is contained in:
@@ -2,7 +2,7 @@ import type { ComponentChildren } from 'preact'
|
||||
import { createContext } from 'preact'
|
||||
import { useCallback, useContext, useEffect, useMemo, useState } from 'preact/hooks'
|
||||
import type { VersionId } from '../services/index.js'
|
||||
import { ROOT_URI, SpyglassClient } from '../services/Spyglass.js'
|
||||
import { DRAFTS_URI, SpyglassClient } from '../services/Spyglass.js'
|
||||
import { Store } from '../Store.js'
|
||||
|
||||
export type ProjectMeta = {
|
||||
@@ -37,7 +37,7 @@ export const DRAFT_PROJECT: ProjectMeta = {
|
||||
namespace: 'draft',
|
||||
storage: {
|
||||
type: 'indexeddb',
|
||||
rootUri: `${ROOT_URI}drafts/`,
|
||||
rootUri: DRAFTS_URI,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user