price fix
This commit is contained in:
parent
39638899a1
commit
f1e645987f
3
main.go
3
main.go
|
|
@ -6,6 +6,7 @@ import (
|
|||
"github.com/joho/godotenv"
|
||||
"log"
|
||||
"net/http"
|
||||
"os"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
@ -23,7 +24,7 @@ func main() {
|
|||
|
||||
route := mux.NewRouter()
|
||||
route.HandleFunc("/init-importer", importer.Start)
|
||||
err := http.ListenAndServe(":444", route)
|
||||
err := http.ListenAndServe(os.Getenv("port"), route)
|
||||
|
||||
if err != nil {
|
||||
log.Fatal("error: ", err)
|
||||
|
|
|
|||
Loading…
Reference in New Issue