open-consul/ui/packages/consul-ui/app/services/env.js

15 lines
285 B
JavaScript

import Service from '@ember/service';
import { env } from 'consul-ui/env';
export default class EnvService extends Service {
// deprecated
// TODO: Remove this elsewhere in the app and use var instead
env(key) {
return env(key);
}
var(key) {
return env(key);
}
}