Skip to content
Snippets Groups Projects
Commit 418bfae3 authored by Tarje.Lavik's avatar Tarje.Lavik
Browse files

Remove ref to web folder

parent 6efb3b9c
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ import QueryContainer from 'part:@sanity/base/query-container' ...@@ -16,7 +16,7 @@ import QueryContainer from 'part:@sanity/base/query-container'
import schema from 'part:@sanity/base/schema' import schema from 'part:@sanity/base/schema'
import Iframe from 'sanity-plugin-iframe-pane' import Iframe from 'sanity-plugin-iframe-pane'
import resolveProductionUrl from '../parts/resolveProductionUrl' import resolveProductionUrl from '../parts/resolveProductionUrl'
import { publicDocumentTypes } from '../../../web/lib/queries' import { publicDocumentTypes } from "../publicDocumentTypes"
const hiddenDocTypes = (listItem) => const hiddenDocTypes = (listItem) =>
![ ![
......
import { publicDocumentTypes } from "../../../web/lib/queries" import { publicDocumentTypes } from "../publicDocumentTypes"
// Any random string, must match SANITY_PREVIEW_SECRET in the Next.js .env.local file // Any random string, must match SANITY_PREVIEW_SECRET in the Next.js .env.local file
const previewSecret = process.env.SANITY_STUDIO_PREVIEW_SECRET const previewSecret = process.env.SANITY_STUDIO_PREVIEW_SECRET
......
export const publicDocumentTypes = [
'HumanMadeObject',
'Actor',
'Concept',
'ObjectType',
'Place',
'Event',
'LinguisticDocument',
]
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment