Remove GET /micropub request
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Peter Stuifzand 2019-03-23 21:04:42 +01:00
parent 895af674e3
commit 2bf3ce7aa4
Signed by: peter
GPG Key ID: 374322D56E5209E8

View File

@ -78,10 +78,7 @@ func (h *micropubHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
return
}
if r.Method == http.MethodGet {
// show profile with endpoint urls
} else if r.Method == http.MethodPost {
if r.Method == http.MethodPost {
sourceID := r.URL.Query().Get("source_id")
authHeader := r.Header.Get("Authorization")