From 7b2fb2847b834d7267a95f784bcdcdea617b9481 Mon Sep 17 00:00:00 2001 From: Steven Polley Date: Sat, 3 Jun 2023 23:08:49 -0600 Subject: [PATCH] add build badge --- README.md | 2 ++ main.go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9abb381..dceed3e 100644 --- a/README.md +++ b/README.md @@ -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 \ No newline at end of file diff --git a/main.go b/main.go index 483fc03..30e4a61 100644 --- a/main.go +++ b/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))