mirror of
https://github.com/mattermost/mattermost-mobile.git
synced 2026-11-13 06:30:29 +00:00
* Mattermost Blocks * Move block renderer to its own components folder * Sync translation layer * UX fixes * Refactor button to use the button component * Code review * Fix CI * Add animations to collapse blocks * Add unit tests * Add e2e tests and related fixes * Address coderabbit comments * Address UX comments * Address feedback * Address coderabbit comments * Fix snapshots * Sync with webapp translation * Add node limit to button markdown node * Address feedback * i18n-extract * Fix test * Move image utils to the utils folder * Remove unneeded style * Revert build script change --------- Co-authored-by: Mattermost Build <build@mattermost.com>
21 lines
1.4 KiB
TypeScript
21 lines
1.4 KiB
TypeScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
// this enables creating a .venv file in /detox to handle the environment variables
|
|
import {config} from 'dotenv';
|
|
config({path: './detox/.env'});
|
|
|
|
export const serverOneUrl = process.env.SITE_1_URL || (process.env.IOS === 'true' ? 'http://localhost:8065' : 'http://10.0.2.2:8065');
|
|
export const siteOneUrl = process.env.SITE_1_URL || 'http://localhost:8065';
|
|
export const serverTwoUrl = process.env.SITE_2_URL || (process.env.IOS === 'true' ? 'http://localhost:8065' : 'http://10.0.2.2:8065');
|
|
export const siteTwoUrl = process.env.SITE_2_URL || 'http://localhost:8065';
|
|
export const serverThreeUrl = process.env.SITE_3_URL || (process.env.IOS === 'true' ? 'http://localhost:8065' : 'http://10.0.2.2:8065');
|
|
export const siteThreeUrl = process.env.SITE_3_URL || 'http://localhost:8065';
|
|
export const smtpUrl = process.env.SMTP_URL || 'http://127.0.0.1:9001';
|
|
export const adminEmail = process.env.ADMIN_EMAIL || 'sysadmin@sample.mattermost.com';
|
|
export const adminUsername = process.env.ADMIN_USERNAME || 'sysadmin';
|
|
export const adminPassword = process.env.ADMIN_PASSWORD || 'Sys@dmin-sample1';
|
|
export const ldapServer = process.env.LDAP_SERVER || '127.0.0.1';
|
|
export const ldapPort = process.env.LDAP_PORT || 389;
|
|
export const webhookBaseUrl = process.env.WEBHOOK_BASE_URL || 'http://localhost:3000';
|