mirror of
https://github.com/micromdm/micromdm/
synced 2026-08-10 19:46:07 +08:00
committed by
Victor Vrantchan
parent
f843041cbc
commit
27786e12a1
@@ -339,6 +339,8 @@ func serve(args []string) error {
|
||||
r.Handle("/v1/dep/profiles", apiAuthMiddleware(*flAPIKey, depHandlers))
|
||||
r.Handle("/v1/commands", apiAuthMiddleware(*flAPIKey, commandHandlers.NewCommandHandler)).Methods("POST")
|
||||
r.Handle("/push/{udid}", apiAuthMiddleware(*flAPIKey, apnsHandlers))
|
||||
} else {
|
||||
mainLogger.Log("msg", "no api key specified")
|
||||
}
|
||||
|
||||
if *flRepoPath != "" {
|
||||
|
||||
Reference in New Issue
Block a user