mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: incorrect dynamic share url
This commit is contained in:
@@ -6,6 +6,7 @@ class HttpString {
|
|||||||
static const String liveBaseUrl = 'https://api.live.bilibili.com';
|
static const String liveBaseUrl = 'https://api.live.bilibili.com';
|
||||||
static const String passBaseUrl = 'https://passport.bilibili.com';
|
static const String passBaseUrl = 'https://passport.bilibili.com';
|
||||||
static const String messageBaseUrl = 'https://message.bilibili.com';
|
static const String messageBaseUrl = 'https://message.bilibili.com';
|
||||||
|
static const String dynamicShareBaseUrl = 'https://t.bilibili.com';
|
||||||
static const List<int> validateStatusCodes = [
|
static const List<int> validateStatusCodes = [
|
||||||
302,
|
302,
|
||||||
304,
|
304,
|
||||||
|
|||||||
@@ -169,7 +169,7 @@ class MorePanel extends StatelessWidget {
|
|||||||
onTap: () async {
|
onTap: () async {
|
||||||
Get.back();
|
Get.back();
|
||||||
var result = await Share.share(
|
var result = await Share.share(
|
||||||
'${HttpString.baseUrl}/dynamic/${item.idStr} UP主: ${item.modules.moduleAuthor.name}')
|
'${HttpString.dynamicShareBaseUrl}/${item.idStr}')
|
||||||
.whenComplete(() {});
|
.whenComplete(() {});
|
||||||
return result;
|
return result;
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user