ssl
Some checks are pending
Backend CI / test (push) Waiting to run
Backend CI / build (push) Blocked by required conditions
Deploy Mnemo Cards / Deploy Backend (push) Waiting to run
Deploy Mnemo Cards / Deploy Web App (push) Blocked by required conditions
Deploy Mnemo Cards / Final Verification (push) Blocked by required conditions
Some checks are pending
Backend CI / test (push) Waiting to run
Backend CI / build (push) Blocked by required conditions
Deploy Mnemo Cards / Deploy Backend (push) Waiting to run
Deploy Mnemo Cards / Deploy Web App (push) Blocked by required conditions
Deploy Mnemo Cards / Final Verification (push) Blocked by required conditions
This commit is contained in:
parent
960b0f324a
commit
9482b52946
2 changed files with 5 additions and 3 deletions
|
|
@ -1,3 +1,5 @@
|
|||
import 'dart:io';
|
||||
|
||||
import 'package:injectable/injectable.dart';
|
||||
import '../../database/database.dart';
|
||||
import '../../main.dart' as backend_main;
|
||||
|
|
@ -11,8 +13,8 @@ abstract class AppModule {
|
|||
|
||||
@singleton
|
||||
YooMoneyHandler get yooMoneyHandler => YooMoneyHandler(
|
||||
shopId: const String.fromEnvironment('YOOKASSA_SHOP_ID', defaultValue: ''),
|
||||
secretKey: const String.fromEnvironment('YOOKASSA_SECRET_KEY', defaultValue: ''),
|
||||
shopId: Platform.environment['YOOKASSA_SHOP_ID'] ?? '',
|
||||
secretKey: Platform.environment['YOOKASSA_SECRET_KEY'] ?? '',
|
||||
);
|
||||
|
||||
@singleton
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ class MinioConfig {
|
|||
port: int.parse(Platform.environment['MINIO_PORT'] ?? '443'),
|
||||
accessKey: Platform.environment['SERVICE_USER_MINIO']!,
|
||||
secretKey: Platform.environment['SERVICE_PASSWORD_MINIO']!,
|
||||
useSSL: Platform.environment['MINIO_USE_SSL'] == 'true',
|
||||
useSSL: Platform.environment['MINIO_USE_SSL'] != 'false',
|
||||
region: Platform.environment['MINIO_REGION'] ?? 'us-east-1',
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue