This commit is contained in:
parent
c3fac18a46
commit
7b2fb2847b
@ -1,3 +1,5 @@
|
||||
[](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…
x
Reference in New Issue
Block a user