todo
parent
8022ced640
commit
08fa7c1268
|
|
@ -106,6 +106,8 @@ func (server *Server) apiV0MediaIDHandler(w http.ResponseWriter, r *http.Request
|
||||||
switch r.Method {
|
switch r.Method {
|
||||||
case http.MethodGet:
|
case http.MethodGet:
|
||||||
return server.apiV0MediaIDGetHandler(w, r)
|
return server.apiV0MediaIDGetHandler(w, r)
|
||||||
|
case http.MethodPut:
|
||||||
|
return server.apiV0MediaIDPutHandler(w, r)
|
||||||
case http.MethodDelete:
|
case http.MethodDelete:
|
||||||
return server.apiV0MediaIDDelHandler(w, r)
|
return server.apiV0MediaIDDelHandler(w, r)
|
||||||
}
|
}
|
||||||
|
|
@ -113,6 +115,10 @@ func (server *Server) apiV0MediaIDHandler(w http.ResponseWriter, r *http.Request
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (server *Server) apiV0MediaIDPutHandler(w http.ResponseWriter, r *http.Request) error {
|
||||||
|
panic("not impl")
|
||||||
|
}
|
||||||
|
|
||||||
func (server *Server) apiV0MediaIDDelHandler(w http.ResponseWriter, r *http.Request) error {
|
func (server *Server) apiV0MediaIDDelHandler(w http.ResponseWriter, r *http.Request) error {
|
||||||
id := path.Base(r.URL.Path)
|
id := path.Base(r.URL.Path)
|
||||||
os.Remove(server.diskMediaPath(id))
|
os.Remove(server.diskMediaPath(id))
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,11 @@
|
||||||
todo:
|
todo:
|
||||||
- buttons to invis
|
- buttons to invis
|
||||||
|
- put images
|
||||||
|
- fix links
|
||||||
|
- scrape images
|
||||||
- scrape odo
|
- scrape odo
|
||||||
|
- scrape gdoc
|
||||||
|
- scrape gsheet
|
||||||
done:
|
done:
|
||||||
- damned width css
|
- damned width css
|
||||||
- css
|
- css
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue