File tree Expand file tree Collapse file tree 3 files changed +5
-19
lines changed
java/com/patternpedia/api/config Expand file tree Collapse file tree 3 files changed +5
-19
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ public FilterRegistrationBean customCorsFilter() {
6262 CorsConfiguration config = new CorsConfiguration ();
6363 config .setAllowCredentials (true );
6464 config .addAllowedOrigin ("http://localhost:4200" );
65+ config .addAllowedOrigin ("http://localhost:4201" );
6566 config .addAllowedHeader ("*" );
6667 config .addAllowedMethod ("*" );
6768 source .registerCorsConfiguration ("/**" , config );
@@ -71,4 +72,4 @@ public FilterRegistrationBean customCorsFilter() {
7172 bean .setOrder (Ordered .HIGHEST_PRECEDENCE );
7273 return bean ;
7374 }
74- }
75+ }
Original file line number Diff line number Diff line change 11server.port =8080
22
3- spring.datasource.url =jdbc:postgresql://localhost:5432/patternpedia
4- spring.datasource.username =patternpedia
5- spring.datasource.password =patternpedia
3+ spring.datasource.url =jdbc:postgresql://localhost:5432/postgres
4+ spring.datasource.username =postgres
5+ spring.datasource.password =postgres
66spring.jpa.properties.hibernate.dialect =org.hibernate.dialect.PostgreSQLDialect
77spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation =true
88spring.jpa.hibernate.ddl-auto =update
You can’t perform that action at this time.
0 commit comments