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 4b94f2c2..91fdac46 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 25f73f14..cda8eae1 100644 --- a/src/main/resources/application-flyio.yml +++ b/src/main/resources/application-flyio.yml @@ -1,4 +1,4 @@ -allowed-origins: "https://mypets-gei.fly.dev, https://deploy-preview-*--mypets-gei.fly.dev" +allowed-origins: "https://mypets-gei.netlify.app, https://deploy-preview-*--mypets-gei.netlify.app" logging: level: