From f526d29f594ff90d607ed239d56c5ac44b372fe3 Mon Sep 17 00:00:00 2001 From: "Lucas.Xu" Date: Mon, 18 Jul 2022 19:46:29 +0800 Subject: [PATCH] chore: support https request in macOS platform. --- .../packages/flowy_editor/example/assets/document.json | 6 ++++++ .../example/macos/Runner/DebugProfile.entitlements | 2 ++ .../flowy_editor/example/macos/Runner/Release.entitlements | 2 ++ 3 files changed, 10 insertions(+) diff --git a/frontend/app_flowy/packages/flowy_editor/example/assets/document.json b/frontend/app_flowy/packages/flowy_editor/example/assets/document.json index d8012e857c..7692c8b00b 100644 --- a/frontend/app_flowy/packages/flowy_editor/example/assets/document.json +++ b/frontend/app_flowy/packages/flowy_editor/example/assets/document.json @@ -3,6 +3,12 @@ "type": "editor", "attributes": {}, "children": [ + { + "type": "image", + "attributes": { + "image_src": "https://images.squarespace-cdn.com/content/v1/617f6f16b877c06711e87373/c3f23723-37f4-44d7-9c5d-6e2a53064ae7/Asset+10.png?format=1500w" + } + }, { "type": "text", "delta": [ diff --git a/frontend/app_flowy/packages/flowy_editor/example/macos/Runner/DebugProfile.entitlements b/frontend/app_flowy/packages/flowy_editor/example/macos/Runner/DebugProfile.entitlements index dddb8a30c8..c946719a1a 100644 --- a/frontend/app_flowy/packages/flowy_editor/example/macos/Runner/DebugProfile.entitlements +++ b/frontend/app_flowy/packages/flowy_editor/example/macos/Runner/DebugProfile.entitlements @@ -8,5 +8,7 @@ com.apple.security.network.server + com.apple.security.network.client + diff --git a/frontend/app_flowy/packages/flowy_editor/example/macos/Runner/Release.entitlements b/frontend/app_flowy/packages/flowy_editor/example/macos/Runner/Release.entitlements index 852fa1a472..48271acc95 100644 --- a/frontend/app_flowy/packages/flowy_editor/example/macos/Runner/Release.entitlements +++ b/frontend/app_flowy/packages/flowy_editor/example/macos/Runner/Release.entitlements @@ -4,5 +4,7 @@ com.apple.security.app-sandbox + com.apple.security.network.client +