mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-12 06:11:03 -04:00
13 lines
171 B
Go
13 lines
171 B
Go
![]() |
package main
|
||
|
|
||
|
import (
|
||
|
"log"
|
||
|
"net/http"
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
fs := http.FileServer(http.Dir("/static"))
|
||
|
http.Handle("/", fs)
|
||
|
log.Panic(http.ListenAndServe(":80", nil))
|
||
|
}
|