Skip to content

Commit

Permalink
Merge pull request #32 from strapi/fix/preview-var
Browse files Browse the repository at this point in the history
fix: preview secret
  • Loading branch information
Mcastres authored Jan 27, 2025
2 parents 36a2f80 + c3628ab commit 56ecf64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion strapi/config/admin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default ({ env }) => ({
const { slug } = document;

const urlSearchParams = new URLSearchParams({
secret: env('PREVIEW_SECRET'),
secret: env('STRAPI_ADMIN_CLIENT_PREVIEW_SECRET'),
...(slug && { slug }),
locale,
uid,
Expand Down

0 comments on commit 56ecf64

Please sign in to comment.