applied port
This commit is contained in:
parent
1e9f6b7fe0
commit
74bb587fe3
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
|
@ -10,7 +10,7 @@ func main() {
|
||||||
fileServer := http.FileServer(neuteredFs{http.Dir("./static")})
|
fileServer := http.FileServer(neuteredFs{http.Dir("./static")})
|
||||||
|
|
||||||
http.Handle("/", fileServer)
|
http.Handle("/", fileServer)
|
||||||
err := http.ListenAndServe(":3000", nil)
|
err := http.ListenAndServe(":8000", nil)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println(err)
|
fmt.Println(err)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue