This commit is contained in:
partisan 2025-03-09 11:42:53 +01:00
commit d0187f94d7
23 changed files with 2489 additions and 0 deletions

15
main.go Normal file
View file

@ -0,0 +1,15 @@
package main
import (
"log"
"net/http"
)
func main() {
http.HandleFunc("/", indexHandler)
http.HandleFunc("/search", searchHandler)
http.HandleFunc("/install", installHandler) // for AMO add-on installs
log.Println("Starting server on http://localhost:8080")
log.Fatal(http.ListenAndServe(":8080", nil))
}