Skip to content

Commit

Permalink
Added support for local development
Browse files Browse the repository at this point in the history
  • Loading branch information
R-Sandor committed Sep 21, 2024
1 parent a57c7a6 commit 9e389d6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
@Slf4j
public class ScreenshotController {

@Value("${findfirst.screenshot.location:./screenshots}")
@Value("${findfirst.screenshot.location}")
private String screenshotSaveLoc;

@PostConstruct
Expand Down
2 changes: 2 additions & 0 deletions screenshot/app/src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Place for application specific properties
findfirst.local.screenshot=../data/screenshot
findfirst.screenshot.location=${FINDFIRST_SCREENSHOT_LOCATION:${findfirst.local.screenshot}}
1 change: 1 addition & 0 deletions screenshot/data

0 comments on commit 9e389d6

Please sign in to comment.