File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -343,6 +343,7 @@ workflows:
343
343
branches :
344
344
only :
345
345
- develop
346
+ - docusign-cors
346
347
# This is alternate dev env for parallel testing
347
348
- " build-test " :
348
349
context : org-global
Original file line number Diff line number Diff line change @@ -209,9 +209,13 @@ async function onExpressJsSetup(server) {
209
209
210
210
/* Receive the signing result from DocuSign server, and then send result to client
211
211
*/
212
- server . use ( '/community-app-assets/iframe-break' , ( req , res ) => {
213
- res . send ( `<script>parent.postMessage(${ serializeJs ( { ...req . query , type : 'DocuSign' } ) } , '*')</script>` ) ;
214
- } ) ;
212
+ server . use (
213
+ '/community-app-assets/iframe-break' ,
214
+ ( req , res ) => {
215
+ res . removeHeader ( 'X-Frame-Options' ) ;
216
+ res . send ( `<script>parent.postMessage(${ serializeJs ( { ...req . query , type : 'DocuSign' } ) } , '*')</script>` ) ;
217
+ } ,
218
+ ) ;
215
219
216
220
/* Serves a mock DocuSign page. Which is, actually, just a simple local
217
221
* HTML document (/src/shared/services/__mocks__/data/docu-sign-mock.html)
You can’t perform that action at this time.
0 commit comments