mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-17 20:17:00 +02:00
19 lines
369 B
JavaScript
19 lines
369 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
*/
|
|
|
|
import config from '../config/environment';
|
|
|
|
export function initialize(/* application */) {
|
|
// attach mount hooks to the environment config
|
|
// context will be the router DSL
|
|
config.addRootMounts = function () {
|
|
this.mount('replication');
|
|
};
|
|
}
|
|
|
|
export default {
|
|
initialize,
|
|
};
|