mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 13:55:55 +00:00
2e4c9f5330
Moves our URLs with 'optional namespace segment' into a separately abstracted 'optional URL segment' feature
15 lines
290 B
JavaScript
15 lines
290 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 this.var(key);
|
|
}
|
|
|
|
var(key) {
|
|
return env(key);
|
|
}
|
|
}
|