edit port 8085
This commit is contained in:
@@ -0,0 +1 @@
|
||||
micro info seite
|
||||
@@ -0,0 +1 @@
|
||||
micro startseite
|
||||
@@ -0,0 +1,5 @@
|
||||
module microblog
|
||||
|
||||
go 1.25.0
|
||||
|
||||
require github.com/yuin/goldmark v1.4.2
|
||||
@@ -0,0 +1,2 @@
|
||||
github.com/yuin/goldmark v1.4.2 h1:5qVKCqCRBaGz8EepBTi7pbIw8gGCFnB1Mi6kXU4dYv8=
|
||||
github.com/yuin/goldmark v1.4.2/go.mod h1:rmuwmfZ0+bvzB24eSC//bk1R1Zp3hM0OXYv/G2LIilg=
|
||||
+2
-3
@@ -13,7 +13,6 @@ import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"github.com/yuin/goldmark"
|
||||
)
|
||||
|
||||
@@ -21,8 +20,8 @@ const articlesDir = "data/articles"
|
||||
|
||||
func main() {
|
||||
http.HandleFunc("/", handlePage)
|
||||
println("Server läuft auf http://localhost:8080")
|
||||
http.ListenAndServe(":8080", nil)
|
||||
println("Server läuft auf http://localhost:8085")
|
||||
http.ListenAndServe(":8085", nil)
|
||||
}
|
||||
|
||||
func handlePage(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
Reference in New Issue
Block a user