Extract the payments redirect URL into an environment variable
This commit is contained in:
parent
b769c428eb
commit
ec258e8b2a
1 changed files with 5 additions and 1 deletions
|
@ -16,7 +16,11 @@ import 'package:photos/services/user_service.dart';
|
|||
import 'package:photos/ui/common/web_page.dart';
|
||||
import 'package:photos/utils/dialog_util.dart';
|
||||
|
||||
const kWebPaymentRedirectUrl = "https://payments.ente.io/frameRedirect";
|
||||
const kWebPaymentRedirectUrl = String.fromEnvironment(
|
||||
"web-payment-redirect",
|
||||
defaultValue: "https://payments.ente.io/frameRedirect",
|
||||
);
|
||||
|
||||
const kWebPaymentBaseEndpoint = String.fromEnvironment(
|
||||
"web-payment",
|
||||
defaultValue: "https://payments.ente.io",
|
||||
|
|
Loading…
Add table
Reference in a new issue