mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 13:55:55 +00:00
2685c5081b
* Make datacenter queries use query vs findAll like the rest of the app * Make sure we have an element to pass to isInViewport * Make sure href-mut doesn't error even if the currentRoute === null * More post test cleanup and Safari fix (safari requires http:// URLs) * Reverse order of datasource nspace/dc's and add a namespace source * Rearrange routes/templates/controllers to only use HashicorpConsul once * Add datasources and correct token namespace detection/redirection * Remove old dc findAll adapter method * Add more comments around the 'child route/parent controller' vars
10 lines
179 B
JavaScript
10 lines
179 B
JavaScript
import Adapter from './application';
|
|
|
|
export default Adapter.extend({
|
|
requestForQuery: function(request) {
|
|
return request`
|
|
GET /v1/catalog/datacenters
|
|
`;
|
|
},
|
|
});
|