mirror of https://github.com/perkeep/perkeep.git
serverinit: TODO stub for websocket support
Change-Id: Id195830adcdebb009ac2ed8e94c1a5287798f8fa
This commit is contained in:
parent
79cb116dbb
commit
3cc79570e8
|
@ -126,6 +126,9 @@ func camliHandlerUsingStorage(req *http.Request, action string, storage blobserv
|
|||
op = auth.OpGet
|
||||
case "stat":
|
||||
handler = handlers.CreateStatHandler(storage)
|
||||
case "ws":
|
||||
handler = nil // TODO: handlers.CreateSocketHandler(storage)
|
||||
op = auth.OpDiscovery // rest of operation auth checks done in handler
|
||||
default:
|
||||
handler = handlers.CreateGetHandler(storage)
|
||||
op = auth.OpGet
|
||||
|
|
Loading…
Reference in New Issue