mirror of
https://git.vectorsigma.ru/public/photoview.git
synced 2026-08-03 22:19:07 +00:00
Fix the listened host reference in the `main()` function
This commit is contained in:
@@ -119,5 +119,5 @@ func main() {
|
||||
|
||||
}
|
||||
|
||||
log.Panic(http.ListenAndServe(":"+apiListenURL.Port(), handlers.CompressHandler(rootRouter)))
|
||||
log.Panic(http.ListenAndServe(apiListenURL.Host, handlers.CompressHandler(rootRouter)))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user