Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
rabbitprincess committed Jul 12, 2024
1 parent 044dd10 commit 4f58cb2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ all:
make build && make run

build:
go build -o blob-retriever ./cmd/
CGO_ENABLED=0 go build -o blob-retriever ./cmd/

run:
nohup ./blob-retriever > output.log 2>&1 &
cp -n .env ./cmd/ && nohup ./blob-retriever > output.log 2>&1 &
2 changes: 1 addition & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
)

func main() {
err := godotenv.Load("../.env")
err := godotenv.Load(".env")
if err != nil {
fmt.Println(err)
os.Exit(1)
Expand Down

0 comments on commit 4f58cb2

Please sign in to comment.