Couchbase Sync Gateway AdminUI 在哪里?

Where is Couchbase Sync Gateway AdminUI?

我已经在配置中设置了 "adminUI": "0.0.0.0:4985/_admin/"。到达终点时我仍然得到 404 page not found(例如 http://<host IP>:4985/_admin/)。

这是来自 http://developer.couchbase.com/documentation/mobile/1.2/develop/guides/sync-gateway/configuring-sync-gateway/config-properties/index.html

的配置行 adminUI 的描述

URL of the Sync Gateway Admin Console HTML page. The default is the bundled Sync Gateway Admin Console at localhost:4985/_admin/.

我从 https://github.com/couchbase/sync_gateway/blob/aba088a902b162bcaed745510f4d012b8908a303/rest/config.go#L64

那里得到了这个提示

AdminUI *string `json:",omitempty"` // Path to Admin HTML page, if omitted uses bundled HTML

我从配置文件中省略了行 "adminUI": "0.0.0.0:4985/_admin/" 以获取捆绑的 Couchbase Sync Gateway Admin UI HTML 页面。