silverwolf-x's picture
download
raw
686 Bytes
import { initPlasmicLoader } from "@plasmicapp/loader-nextjs";
const PLASMIC_PROJECT_ID = process.env["NEXT_PUBLIC_PLASMIC_PROJECT_ID"];
const PLASMIC_PROJECT_API_TOKEN =
process.env["NEXT_PUBLIC_PLASMIC_PROJECT_API_TOKEN"];
const PLASMIC_CONFIG = {
projects: [
{
id: PLASMIC_PROJECT_ID,
token: PLASMIC_PROJECT_API_TOKEN,
},
],
};
export const PLASMIC = initPlasmicLoader({
...PLASMIC_CONFIG,
preview: false,
});
export const PREVIEW_PLASMIC = initPlasmicLoader({
...PLASMIC_CONFIG,
// Fetches the latest revisions, whether or not they were unpublished!
// Disable for production to ensure you render only published changes.
preview: true,
});

Xet Storage Details

Size:
686 Bytes
·
Xet hash:
40f861d66afe1387270026a47c6f9de4e21cf0e5a9a6fc405d92ca8c8df4ca1a

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.