forked from jason/cpolis
Added ability to specify port and RSS file as command line arguments
This commit is contained in:
@@ -78,5 +78,5 @@ func main() {
|
||||
mux.HandleFunc("POST /update-user/", view.UpdateUser(args, db, store))
|
||||
mux.HandleFunc("POST /upload-image/", view.UploadImage(args))
|
||||
|
||||
log.Fatalln(http.ListenAndServe(":8080", mux))
|
||||
log.Fatalln(http.ListenAndServe(args.Port, mux))
|
||||
}
|
||||
|
Reference in New Issue
Block a user