Skip to content

Commit

Permalink
feat : cors test
Browse files Browse the repository at this point in the history
  • Loading branch information
YASICJUNWOO committed Sep 2, 2023
1 parent f5e7d34 commit 5c3fb98
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/KJW/MBTIcoummunity/Entity/EntityController.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@

import java.util.List;

//http://mbti.ap-northeast-2.elasticbeanstalk.com/

@CrossOrigin(origins = "http://localhost:3000")
@RestController
@AllArgsConstructor
@RequestMapping("/entity")
Expand All @@ -23,4 +26,5 @@ public ENTITY createEntity(@RequestBody ENTITY entity) {
ENTITY saved = repository.save(entity);
return saved;
}

}

0 comments on commit 5c3fb98

Please sign in to comment.