Add Dockerfile.prod and use default port
This commit is contained in:
@ -19,7 +19,7 @@ public class AnyameBackendApplication {
|
||||
return new WebMvcConfigurer() {
|
||||
@Override
|
||||
public void addCorsMappings(CorsRegistry registry) {
|
||||
registry.addMapping("/**").allowedOrigins("http://localhost:3000");
|
||||
registry.addMapping("/**").allowedOrigins("http://localhost:3000", "http://localhost:3001");
|
||||
}
|
||||
};
|
||||
}
|
||||
|
@ -1,3 +1,2 @@
|
||||
spring.application.name=anyame-backend
|
||||
server.error.include-message=always
|
||||
server.port=8081
|
||||
|
Reference in New Issue
Block a user