feat: auth, site creation with PHP version selection
This commit is contained in:
+1
-3
@@ -3,7 +3,6 @@ package main
|
||||
import (
|
||||
"context"
|
||||
"errors"
|
||||
"fmt"
|
||||
"log"
|
||||
"net/http"
|
||||
"os"
|
||||
@@ -31,8 +30,7 @@ func main() {
|
||||
}
|
||||
defer pool.Close()
|
||||
|
||||
addr := fmt.Sprintf(":%s", cfg.HTTPPort)
|
||||
srv, err := server.New(pool, addr)
|
||||
srv, err := server.New(pool, cfg)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user