Changeset 25 in code for trunk


Ignore:
Timestamp:
Oct 19, 2021, 6:51:37 AM (4 years ago)
Author:
dev
Message:

Actually use conf.bind

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/partage.go

    r24 r25  
    230230        http.HandleFunc("/", uploader)
    231231        http.Handle(conf.filectx, http.StripPrefix(conf.filectx, http.FileServer(http.Dir(conf.filepath))))
    232         http.ListenAndServe("0.0.0.0:8080", nil)
    233 }
     232        http.ListenAndServe(conf.bind, nil)
     233}
Note: See TracChangeset for help on using the changeset viewer.