mirror of
https://github.com/LaconicNetwork/laconic.com.git
synced 2026-09-12 23:57:32 +00:00
fix: search api on blog
This commit is contained in:
@@ -9,7 +9,7 @@ const cms = (preview?: boolean) => {
|
||||
return getSdk(
|
||||
new GraphQLClient(preview ? previewEndpoint : endpoint, {
|
||||
headers: {
|
||||
Authorization: `Bearer ${process.env.CMS_ACCESS_TOKEN}`
|
||||
Authorization: `Bearer ${process.env.NEXT_PUBLIC_CMS_ACCESS_TOKEN}`
|
||||
}
|
||||
})
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user