From c7f6885a4b201fe627f0c0a572fe57536291a349 Mon Sep 17 00:00:00 2001 From: Patrick Bashizi Date: Mon, 7 Apr 2025 22:50:20 +0100 Subject: [PATCH 1/2] changed server port to 8081 --- .gitattributes | 1 + main.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..d207b18 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.go text eol=lf diff --git a/main.go b/main.go index 3bc6b17..c9a5772 100644 --- a/main.go +++ b/main.go @@ -25,7 +25,7 @@ import ( "net/http" ) -const port string = ":8080" +const port string = ":8081" func main() { http.HandleFunc("/blue", blueHandler) From b17fe92d6c83d9e513c9012037cf4f793fabae36 Mon Sep 17 00:00:00 2001 From: Patrick Bashizi Date: Mon, 7 Apr 2025 23:08:26 +0100 Subject: [PATCH 2/2] changed default port to 8484 --- .gitattributes | 2 +- main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitattributes b/.gitattributes index d207b18..6313b56 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1 @@ -*.go text eol=lf +* text=auto eol=lf diff --git a/main.go b/main.go index c9a5772..753ceac 100644 --- a/main.go +++ b/main.go @@ -25,7 +25,7 @@ import ( "net/http" ) -const port string = ":8081" +const port string = ":8484" func main() { http.HandleFunc("/blue", blueHandler)