File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
WordPress/src/main/java/org/wordpress/android/ui/posts Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import org.wordpress.gutenberg.EditorConfiguration
88 * Eliminates duplication between GutenbergKitEditorFragment and GutenbergKitWarmupHelper.
99 */
1010object EditorConfigurationBuilder {
11+ private const val JETPACK_ASSET_LOADER_DOMAIN = " android-app-assets.jetpack.com"
1112 /* *
1213 * Builds an EditorConfiguration from the provided settings map.
1314 *
@@ -45,6 +46,9 @@ object EditorConfigurationBuilder {
4546 // Editor asset caching configuration
4647 configureEditorAssetCaching(settings, siteURL, siteApiNamespace)
4748
49+ // Custom asset loader domain for CORS requests
50+ setAssetLoaderDomain(JETPACK_ASSET_LOADER_DOMAIN )
51+
4852 // Cookies
4953 setCookies(settings.getSetting<Map <String , String >>(" cookies" ) ? : emptyMap())
5054
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