price fix

This commit is contained in:
merdan 2022-08-31 14:10:47 +05:00
parent 39638899a1
commit f1e645987f
1 changed files with 2 additions and 1 deletions

View File

@ -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)