Skip to content

Commit

Permalink
Merge pull request #92 from YAPP-Github/feature/universial-link
Browse files Browse the repository at this point in the history
universial link assa file serving api path 추가 및 도커 파일 수정
  • Loading branch information
devk0ng authored Jan 13, 2024
2 parents 694b38c + e4a546f commit aaa61ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
FROM openjdk:11
COPY build/libs/pyonsnalcolor-1.0.jar api.jar
COPY build/resources/main/apple-app-site-association /home/aasa/apple-app-site-association
EXPOSE 8080

ENTRYPOINT ["java", "-jar", "/api.jar"]

RUN echo "pyonsnalcolor server start"
RUN echo "pyonsnalcolor server start"
2 changes: 1 addition & 1 deletion src/main/java/com/pyonsnalcolor/admin/AdminController.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class AdminController {
private FcmPushService fcmPushService;

// universial link
@GetMapping("/")
@GetMapping(value = {"/", "/apple-app-site-association", "/.well-known/apple-app-site-association"})
public ResponseEntity<String> getAASAData() throws IOException {
byte[] jsonData = Files.readAllBytes(Paths.get("/home/aasa/apple-app-site-association"));

Expand Down

0 comments on commit aaa61ce

Please sign in to comment.