mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 22:06:20 +00:00
commit
4248e7659c
@ -92,6 +92,8 @@ App.DcRoute = App.BaseRoute.extend({
|
||||
|
||||
// Return a promise hash to retreieve the
|
||||
// dcs and nodes used in the header
|
||||
var token = App.get('settings.token');
|
||||
|
||||
return Ember.RSVP.hash({
|
||||
dc: params.dc,
|
||||
dcs: Ember.$.getJSON('/v1/catalog/datacenters'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user