From fce47866bc0618435d876beb89d1bdb9c2c8af72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roberto=20Garc=C3=ADa?= Date: Sat, 20 Apr 2024 17:56:25 +0200 Subject: [PATCH] Fix allowed origin for deployment --- .../java/cat/udl/eps/softarch/demo/config/DatabaseConfig.java | 2 +- src/main/resources/application-flyio.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/cat/udl/eps/softarch/demo/config/DatabaseConfig.java b/src/main/java/cat/udl/eps/softarch/demo/config/DatabaseConfig.java index 4b94f2c..91fdac4 100644 --- a/src/main/java/cat/udl/eps/softarch/demo/config/DatabaseConfig.java +++ b/src/main/java/cat/udl/eps/softarch/demo/config/DatabaseConfig.java @@ -12,7 +12,7 @@ * Created by http://rhizomik.net/~roberto/ */ @Configuration -@Profile("flyio") +@Profile("flyio-db") public class DatabaseConfig { @Bean public DataSource dataSource() throws URISyntaxException { diff --git a/src/main/resources/application-flyio.yml b/src/main/resources/application-flyio.yml index 4cc3a65..f0c45df 100644 --- a/src/main/resources/application-flyio.yml +++ b/src/main/resources/application-flyio.yml @@ -1,4 +1,4 @@ -allowed-origins: "https://angular-template.fly.dev, https://deploy-preview-*--angular-template.fly.dev" +allowed-origins: "https://mypets-geiade.netlify.app, https://deploy-preview-*--mypets-geiade.netlify.app" logging: level: