This commit is contained in:
parent
c3fac18a46
commit
7b2fb2847b
@ -1,3 +1,5 @@
|
||||
[![Build Status](https://drone.deadbeef.codes/api/badges/steven/lineageos-ota-server/status.svg)](https://drone.deadbeef.codes/steven/lineageos-ota-server)
|
||||
|
||||
# lineageos-ota-server
|
||||
|
||||
OTA Server for LineageOS
|
2
main.go
2
main.go
@ -34,7 +34,7 @@ func main() {
|
||||
http.Handle("/public/", http.StripPrefix("/public/", http.FileServer(http.Dir("public"))))
|
||||
|
||||
// ROM list
|
||||
http.HandleFunc("/lineage", lineageOSROMListHandler)
|
||||
http.HandleFunc("/", lineageOSROMListHandler)
|
||||
|
||||
log.Print("Service listening on :8080")
|
||||
log.Fatal(http.ListenAndServe(":8080", nil))
|
||||
|
Loading…
Reference in New Issue
Block a user