Skip to content

Commit

Permalink
Update next preview settings
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish committed Nov 14, 2023
1 parent 61acb0a commit f62bacf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
_core:
default_config_hash: gDNTgrmF0Aaxbr5-YV7aptP4mI8w_CboEJo2rPoQ49c
modal_width: 768
modal_width: '768'
modal_height: auto
modal_autoresize: true
theme_display: seven
theme_display: seven9
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ site_previewer_configuration:
width: 100%
sync_route: true
sync_route_skip_routes: ''
preview_url_generator: simple_oauth
preview_url_generator_configuration:
secret_expiration: 3600
preview_url_generator: simple_preview
preview_url_generator_configuration: null
debug: false
2 changes: 1 addition & 1 deletion docroot/sites/library/settings/includes.settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
if ($next_domain) {
$config['next.next_site.netlify'] = [
'base_url' => $next_domain,
'preview_url' => "$next_domain/api/preview",
'preview_url' => "$next_domain/api/draft",
'revalidate_url' => "$next_domain/api/revalidate",
];
}

0 comments on commit f62bacf

Please sign in to comment.