This commit is contained in:
@@ -2,6 +2,7 @@ package main
|
||||
|
||||
import (
|
||||
"flag"
|
||||
"fmt"
|
||||
"log"
|
||||
"net/http"
|
||||
"os"
|
||||
@@ -62,6 +63,7 @@ func main() {
|
||||
must(err)
|
||||
|
||||
apiKey := os.Getenv("MARKA_API_KEY")
|
||||
fmt.Println(apiKey)
|
||||
http.Handle("/", handler.NewHandler(fsAdapter, apiKey))
|
||||
|
||||
log.Printf("listening on %s, roots=%s", *addr, strings.Join(absRoots, ", "))
|
||||
|
||||
Reference in New Issue
Block a user