edit port 8085
This commit is contained in:
+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