2023-03-14 15:55:31 +00:00
|
|
|
// Copyright 2023 Signal Messenger, LLC
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
|
|
|
import { config } from './config';
|
|
|
|
import {
|
|
|
|
getEnvironment,
|
|
|
|
parseEnvironment,
|
|
|
|
setEnvironment,
|
|
|
|
} from '../environment';
|
|
|
|
|
2024-04-16 20:13:02 +00:00
|
|
|
setEnvironment(
|
|
|
|
parseEnvironment(config.environment),
|
|
|
|
config.isMockTestEnvironment
|
|
|
|
);
|
2023-03-14 15:55:31 +00:00
|
|
|
|
|
|
|
const environment = getEnvironment();
|
|
|
|
|
2024-04-16 20:13:02 +00:00
|
|
|
export { environment };
|