Skip to content

Commit

Permalink
improve directory structure
Browse files Browse the repository at this point in the history
  • Loading branch information
adnanwahab committed Sep 20, 2024
1 parent ba63760 commit e84a48a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions services/homelab-status-page/src/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -1389,6 +1389,7 @@ func ServeLatestMutatedImage(c echo.Context) error {
func ServeLatestImage(c echo.Context) error {
// Directory where images are stored
outputPath := "./static/sensor_data/webcam/"
fmt.Println(c.Request().URL)

// Read directory and find the latest image
files, err := ioutil.ReadDir(outputPath)
Expand Down
Binary file modified services/homelab-status-page/tmp/main
Binary file not shown.

0 comments on commit e84a48a

Please sign in to comment.