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 11package org.wordpress.android.ui.posts
22
3+ import org.wordpress.android.BuildConfig
34import org.wordpress.android.util.UrlUtils
45import org.wordpress.gutenberg.EditorConfiguration
56
@@ -8,6 +9,7 @@ import org.wordpress.gutenberg.EditorConfiguration
89 * Eliminates duplication between GutenbergKitEditorFragment and GutenbergKitWarmupHelper.
910 */
1011object EditorConfigurationBuilder {
12+ private const val JETPACK_ASSET_LOADER_DOMAIN = " android-app-assets.jetpack.com"
1113 /* *
1214 * Builds an EditorConfiguration from the provided settings map.
1315 *
@@ -45,6 +47,9 @@ object EditorConfigurationBuilder {
4547 // Editor asset caching configuration
4648 configureEditorAssetCaching(settings, siteURL, siteApiNamespace)
4749
50+ // Custom asset loader domain for CORS requests
51+ setAssetLoaderDomain(JETPACK_ASSET_LOADER_DOMAIN )
52+
4853 // Cookies
4954 setCookies(settings.getSetting<Map <String , String >>(" cookies" ) ? : emptyMap())
5055
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ google-play-services-auth = '20.4.1'
7373google-services = ' 4.4.3'
7474gravatar = ' 2.5.0'
7575greenrobot-eventbus = ' 3.3.1'
76- gutenberg-kit = ' 181-f25dc3b1acb69cc04ae92ec37a334afb0a2fa54d '
76+ gutenberg-kit = ' 181-686ebf77fc3c7608ee9b674dc444cf26a141313a '
7777gutenberg-mobile = ' v1.121.0'
7878indexos-media-for-mobile = ' 43a9026f0973a2f0a74fa813132f6a16f7499c3a'
7979jackson-databind = ' 2.12.7.1'
You can’t perform that action at this time.
0 commit comments