Skip to content

Commit

Permalink
REFACTOR: domain -> frontend-url
Browse files Browse the repository at this point in the history
  • Loading branch information
sseung519 committed Nov 26, 2024
1 parent ad9c64e commit 5b911ec
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ public class SubmissionService {

private final ApplicationEventPublisher eventPublisher;

@Value("${app.domain}")
private String domain;
@Value("${app.frontend_url}")
private String frontendUrl;

/**
* 과제 제출
Expand Down Expand Up @@ -237,7 +237,7 @@ public SubmissionResponseDto gradeSubmission(Long submissionId, GradeRequestDto
.addProperty("feedback", requestDto.getFeedback())
.addProperty("assignmentUrl",
String.format("%s/courses/%d/assignments/%d",
domain,
frontendUrl,
submission.getAssignment().getCourse().getId(),
submission.getAssignment().getId()));

Expand Down

0 comments on commit 5b911ec

Please sign in to comment.