Skip to content

Commit

Permalink
add next preview server route for brd (#17264)
Browse files Browse the repository at this point in the history
  • Loading branch information
tjheffner authored Feb 16, 2024
1 parent 1d0f61e commit ee7ba40
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docroot/sites/default/settings/settings.brd_common.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@
}

$settings['cms_datadog_api_key'] = getenv('CMS_DATADOG_API_KEY');

// Update next-build site endpoint to the appropriate preview alias
$config['next.next_site.next_build_preview_server']['base_url'] = getenv('NEXT_BUILD_PREVIEW_HOSTNAME');
$config['next.next_site.next_build_preview_server']['preview_url'] = getenv('NEXT_BUILD_PREVIEW_HOSTNAME') . 'api/preview';

0 comments on commit ee7ba40

Please sign in to comment.