Skip to content

Commit

Permalink
fix: изменение переменных
Browse files Browse the repository at this point in the history
  • Loading branch information
svifty7 committed Jan 13, 2025
1 parent e0d673f commit 8d029f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/club/ttg/dnd5/security/JwtUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
@Component
@RequiredArgsConstructor
public class JwtUtils {
@Value("${token.api.secret}")
@Value("${api.secret}")
private String SECRET_KEY;

private final UserService userService;
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ spring.servlet.multipart.max-file-size=10MB
spring.servlet.multipart.max-request-size=10MB
app.url=${APP_URL}

api.secret=${API_SECRET}

# Datasource
spring.datasource.url=${SPRING_DATASOURCE_URL}
spring.datasource.username=${SPRING_DATASOURCE_USERNAME}
Expand Down

0 comments on commit 8d029f5

Please sign in to comment.