From b5550cecd9239f9ed5aa2141f836c30d4208e851 Mon Sep 17 00:00:00 2001 From: otsmr Date: Mon, 12 May 2025 16:32:16 +0200 Subject: [PATCH] fix link --- lib/src/views/settings/help/faq.dart | 3 ++- pubspec.yaml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/src/views/settings/help/faq.dart b/lib/src/views/settings/help/faq.dart index 26110dd..70fe33b 100644 --- a/lib/src/views/settings/help/faq.dart +++ b/lib/src/views/settings/help/faq.dart @@ -1,4 +1,5 @@ import 'dart:convert'; +import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:http/http.dart' as http; import 'package:logging/logging.dart'; @@ -21,7 +22,7 @@ class _FAQPageState extends State { @override void initState() { super.initState(); - domain = "http://10.99.0.140:8000"; + domain = (kDebugMode) ? "http://10.99.0.140:8000" : "https://twonly.eu"; _fetchFAQData(); } diff --git a/pubspec.yaml b/pubspec.yaml index dfa8699..ce4f064 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -4,7 +4,7 @@ description: "twonly, a privacy-friendly way to connect with friends through sec # Prevent accidental publishing to pub.dev. publish_to: 'none' -version: 0.0.27+27 +version: 0.0.28+28 environment: sdk: ^3.6.0