From 0f8b6c6dfe3662e3b0cdcc482803d1249a03ce4b Mon Sep 17 00:00:00 2001 From: Al Munnings Date: Thu, 1 Feb 2024 22:29:58 +1100 Subject: [PATCH] Ports in dev hosts --- web/sites/default/services.development.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/sites/default/services.development.yml b/web/sites/default/services.development.yml index c03499d..af6921e 100755 --- a/web/sites/default/services.development.yml +++ b/web/sites/default/services.development.yml @@ -24,12 +24,12 @@ parameters: # Enable CORS for headless development. allowedOriginsPatterns: - - '#\.lndo\.site$#' - - '#\.ddev\.site$#' + - '#^localhost(:\d+)?$#' + - '#\.lndo\.site(:\d+)?$#' + - '#\.ddev\.site(:\d+)?$#' - '#\.amazee\.io$#' - '#\.ironstar\.io$#' - '#\.platformsh\.site$#' - - '#localhost:\d+$#' # Sets the Access-Control-Expose-Headers header. exposedHeaders: false