add build badge
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Steven Polley 2023-06-03 23:08:49 -06:00
parent c3fac18a46
commit 7b2fb2847b
2 changed files with 3 additions and 1 deletions

View File

@ -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 # lineageos-ota-server
OTA Server for LineageOS OTA Server for LineageOS

View File

@ -34,7 +34,7 @@ func main() {
http.Handle("/public/", http.StripPrefix("/public/", http.FileServer(http.Dir("public")))) http.Handle("/public/", http.StripPrefix("/public/", http.FileServer(http.Dir("public"))))
// ROM list // ROM list
http.HandleFunc("/lineage", lineageOSROMListHandler) http.HandleFunc("/", lineageOSROMListHandler)
log.Print("Service listening on :8080") log.Print("Service listening on :8080")
log.Fatal(http.ListenAndServe(":8080", nil)) log.Fatal(http.ListenAndServe(":8080", nil))