Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions headapps/Sugcon2024/.env.remote.example
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,22 @@ SITECORE_EDGE_CONTEXT_ID=
# Will be used as a fallback if separate SITECORE_EDGE_CONTEXT_ID value is not provided
NEXT_PUBLIC_SITECORE_EDGE_CONTEXT_ID=

# Optional: custom Sitecore Edge Platform hostname (hostname or full URL).
NEXT_PUBLIC_SITECORE_EDGE_PLATFORM_HOSTNAME=

# Optional: custom Experience Edge hostname for media URL rewriting (e.g. staging).
SITECORE_EXPERIENCE_EDGE_HOSTNAME=

# An optional Sitecore Personalize scope identifier.
# This can be used to isolate personalization data when multiple XM Cloud Environments share a Personalize tenant.
# This should match the PAGES_PERSONALIZE_SCOPE environment variable for your connected XM Cloud Environment.
NEXT_PUBLIC_PERSONALIZE_SCOPE=

# Timeout (ms) for Sitecore CDP requests to respond within. Default is 400.
PERSONALIZE_MIDDLEWARE_CDP_TIMEOUT=
PERSONALIZE_PROXY_CDP_TIMEOUT=

# Timeout (ms) for Sitecore Experience Edge requests to respond within. Default is 400.
PERSONALIZE_MIDDLEWARE_EDGE_TIMEOUT=
PERSONALIZE_PROXY_EDGE_TIMEOUT=

# Sitecore Content SDK npm packages utilize the debug module for debug logging.
# https://www.npmjs.com/package/debug
Expand All @@ -42,3 +48,4 @@ PERSONALIZE_MIDDLEWARE_EDGE_TIMEOUT=
# Client ID and Secret used for Design Library functionality
SITECORE_AUTH_CLIENT_ID=
SITECORE_AUTH_CLIENT_SECRET=
SITECORE_RENDERINGHOST_NAME=
2 changes: 1 addition & 1 deletion headapps/Sugcon2024/.sitecore/component-map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ import * as ActionBanner from 'src/components/basic-components/action-banner/Act
export const componentMap = new Map<string, NextjsContentSdkComponent>([
['BYOCWrapper', BYOCServerWrapper],
['FEaaSWrapper', FEaaSServerWrapper],
['Form', Form],
['Form', { ...Form, componentType: 'client' }],
['LayoutConstants', { ...LayoutConstants }],
['Navigation', { ...Navigation, componentType: 'client' }],
['Header', { ...Header }],
Expand Down
2 changes: 1 addition & 1 deletion headapps/Sugcon2024/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
/// <reference path="./.next/types/routes.d.ts" />
import "./.next/dev/types/routes.d.ts";

// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
Loading
Loading