mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-04-19 12:24:53 -04:00
feat: upgrade ubuntu version to 22.04 in github action
This commit is contained in:
parent
954e844a21
commit
dc56397d8f
2 changed files with 3 additions and 4 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -338,7 +338,7 @@ jobs:
|
|||
- {
|
||||
arch: x86_64,
|
||||
target: x86_64-unknown-linux-gnu,
|
||||
os: ubuntu-20.04,
|
||||
os: ubuntu-22.04,
|
||||
extra-build-args: "",
|
||||
flutter_profile: production-linux-x86_64,
|
||||
}
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
import 'package:appflowy/plugins/document/presentation/editor_plugins/link_preview/custom_link_parser.dart';
|
||||
import 'package:appflowy_backend/log.dart';
|
||||
|
||||
import 'package:http/http.dart' as http;
|
||||
// ignore: depend_on_referenced_packages
|
||||
import 'package:html/parser.dart' as html_parser;
|
||||
import 'package:http/http.dart' as http;
|
||||
|
||||
abstract class LinkInfoParser {
|
||||
Future<LinkInfo?> parse(
|
||||
|
@ -70,7 +69,7 @@ class DefaultParser implements LinkInfoParser {
|
|||
}
|
||||
|
||||
final favicon =
|
||||
'https://www.google.com/s2/favicons?sz=64&domain=${link.host}';
|
||||
'https://www.faviconextractor.com/favicon/${link.host}?larger=true';
|
||||
|
||||
return LinkInfo(
|
||||
url: '$link',
|
||||
|
|
Loading…
Add table
Reference in a new issue