Skip to content

Commit

Permalink
Fixed config server.
Browse files Browse the repository at this point in the history
Signed-off-by: Vincenzo Palazzo <[email protected]>
  • Loading branch information
vincenzopalazzo committed Aug 20, 2021
1 parent 81d4065 commit 632b23b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public static Javalin buildServerInstance() {
Javalin serverInstance =
Javalin.create(
config -> {
config.enableCorsForAllOrigins();
config.registerPlugin(new OpenApiPlugin(options));
config.defaultContentType = "application/json";
});
Expand Down

0 comments on commit 632b23b

Please sign in to comment.