add getDomainMetadata endpoint which returns an error result
This commit is contained in:
parent
a9167f5d8a
commit
25d1322902
|
@ -49,5 +49,11 @@ func (b *Backend) Run() error {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
r.GET("/dnsapi/getDomainMetadata/:name/:kind", func(c *gin.Context) {
|
||||||
|
c.JSON(200, gin.H{
|
||||||
|
"result": false,
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
return r.Run(b.config.ListenBackend)
|
return r.Run(b.config.ListenBackend)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue