bot info page
This commit is contained in:
parent
73c12ca905
commit
285db408be
|
@ -26,4 +26,5 @@ func (mi *Mi) RegisterPusher(p Pusher) {
|
|||
|
||||
func (mi *Mi) RegisterRoutes() {
|
||||
mi.mux.HandleFunc("/blog/refresh", mi.RefreshBlog)
|
||||
mi.mux.HandleFunc("/.within/botinfo", botInfoPage)
|
||||
}
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
func botInfoPage(w http.ResponseWriter, r *http.Request) {
|
||||
fmt.Fprintln(w, `Hello, if you are reading this, you have found this URL in your
|
||||
access logs. If this program is doing something you don't want them to do,
|
||||
please contact me at me@christine.website.
|
||||
|
||||
This service is intended to act as a POSSE[1] syndication server for
|
||||
various services to various other services.
|
||||
|
||||
Every effort is being taken to ensure that the data going through this
|
||||
server is my own.
|
||||
|
||||
I'm sorry if this causes you any inconvenience.
|
||||
|
||||
[1]: https://indieweb.org/POSSE
|
||||
|
||||
Be well, Creator.
|
||||
`)
|
||||
}
|
Loading…
Reference in New Issue