File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
WordPress/src/main/java/org/wordpress/android/ui/posts Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1
1
package org.wordpress.android.ui.posts
2
2
3
+ import org.wordpress.android.BuildConfig
3
4
import org.wordpress.android.util.UrlUtils
4
5
import org.wordpress.gutenberg.EditorConfiguration
5
6
@@ -8,6 +9,7 @@ import org.wordpress.gutenberg.EditorConfiguration
8
9
* Eliminates duplication between GutenbergKitEditorFragment and GutenbergKitWarmupHelper.
9
10
*/
10
11
object EditorConfigurationBuilder {
12
+ private const val JETPACK_ASSET_LOADER_DOMAIN = " android-app-assets.jetpack.com"
11
13
/* *
12
14
* Builds an EditorConfiguration from the provided settings map.
13
15
*
@@ -45,6 +47,9 @@ object EditorConfigurationBuilder {
45
47
// Editor asset caching configuration
46
48
configureEditorAssetCaching(settings, siteURL, siteApiNamespace)
47
49
50
+ // Custom asset loader domain for CORS requests
51
+ setAssetLoaderDomain(JETPACK_ASSET_LOADER_DOMAIN )
52
+
48
53
// Cookies
49
54
setCookies(settings.getSetting<Map <String , String >>(" cookies" ) ? : emptyMap())
50
55
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ google-play-services-auth = '20.4.1'
73
73
google-services = ' 4.4.3'
74
74
gravatar = ' 2.5.0'
75
75
greenrobot-eventbus = ' 3.3.1'
76
- gutenberg-kit = ' 181-f25dc3b1acb69cc04ae92ec37a334afb0a2fa54d '
76
+ gutenberg-kit = ' 181-686ebf77fc3c7608ee9b674dc444cf26a141313a '
77
77
gutenberg-mobile = ' v1.121.0'
78
78
indexos-media-for-mobile = ' 43a9026f0973a2f0a74fa813132f6a16f7499c3a'
79
79
jackson-databind = ' 2.12.7.1'
You can’t perform that action at this time.
0 commit comments