Skip to content

Commit

Permalink
fix: listen to all internal interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
FinalAngel committed Apr 25, 2024
1 parent 8659386 commit f484995
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
run: docker compose build

- name: Run docker container
run: docker compose up -d
run: docker compose up

- name: Test if service is reachable
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Deploy template

on:
push:
# push:
schedule:
- cron: "50 16 * * *"

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ func handler(w http.ResponseWriter, r *http.Request) {

func main() {
http.HandleFunc("/", handler)
log.Fatal(http.ListenAndServe(":80", nil))
log.Fatal(http.ListenAndServe("0.0.0.0:80", nil))
}

0 comments on commit f484995

Please sign in to comment.