dev
floxx2112 2 years ago
parent dd8ec9d844
commit ce432af07f
  1. 2
      src/main/java/com/apside/assistDbBackend/AssistDBBackendApplication.java
  2. 6
      src/main/resources/application.properties

@ -22,7 +22,7 @@ public class AssistDBBackendApplication {
public CorsFilter corsFilter() {
CorsConfiguration corsConfiguration = new CorsConfiguration();
corsConfiguration.setAllowCredentials(true);
corsConfiguration.setAllowedOrigins(Arrays.asList("http://localhost:4200"));
corsConfiguration.setAllowedOrigins(Arrays.asList("http://localhost:9002"));
corsConfiguration.setAllowedHeaders(Arrays.asList("Origin", "Access-Control-Allow-Origin", "Content-Type",
"Accept", "Authorization", "Origin, Accept", "X-Requested-With",
"Access-Control-Request-Method", "Access-Control-Request-Headers"));

@ -1,8 +1,8 @@
spring.application.name=AssistDBBackend
spring.datasource.url=
spring.datasource.username=
spring.datasource.password=
spring.datasource.url=jdbc:mysql://localhost:3306/prudencetest
spring.datasource.username=root
spring.datasource.password=Pompom.21
server.port=9001
logging.level.org.springframework.boot.web.embedded.tomcat=INFO

Loading…
Cancel
Save