From 40d423fcb9a7bd98b779637cf78bf6d6aa595a83 Mon Sep 17 00:00:00 2001 From: Adrienne Rio Date: Thu, 6 Mar 2025 13:40:29 +0800 Subject: [PATCH 1/3] chore: add new route for front channels to be registered in hydra --- packages/core/build/config.js | 10 +++++++ .../core/src/root_files/front-channel.html | 26 +++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 packages/core/src/root_files/front-channel.html diff --git a/packages/core/build/config.js b/packages/core/build/config.js index 2fbc7ebd1cb9..8fa790e36109 100644 --- a/packages/core/build/config.js +++ b/packages/core/build/config.js @@ -115,6 +115,16 @@ const copyConfig = base => { to: 'localstorage-sync.html', toType: 'file', }, + { + from: path.resolve(__dirname, '../src/root_files/front-channel.html'), + to: 'front-channel.html', + toType: 'file', + }, + { + from: path.resolve(__dirname, '../src/root_files/silent-callback.html'), + to: 'silent-callback.html', + toType: 'file', + }, { from: path.resolve(__dirname, '../src/root_files/robots.txt'), to: 'robots.txt', toType: 'file' }, { from: path.resolve(__dirname, '../src/root_files/sitemap.xml'), to: 'sitemap.xml', toType: 'file' }, { diff --git a/packages/core/src/root_files/front-channel.html b/packages/core/src/root_files/front-channel.html new file mode 100644 index 000000000000..710221543bb2 --- /dev/null +++ b/packages/core/src/root_files/front-channel.html @@ -0,0 +1,26 @@ + + + + Deriv + + + + + + From 6939122f101cc33c008a69cd3882f4cf4e03ae01 Mon Sep 17 00:00:00 2001 From: Adrienne Rio Date: Thu, 6 Mar 2025 13:47:55 +0800 Subject: [PATCH 2/3] chore: remove route for silent callback --- packages/core/build/config.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/core/build/config.js b/packages/core/build/config.js index 8fa790e36109..4821a7bd3772 100644 --- a/packages/core/build/config.js +++ b/packages/core/build/config.js @@ -120,11 +120,6 @@ const copyConfig = base => { to: 'front-channel.html', toType: 'file', }, - { - from: path.resolve(__dirname, '../src/root_files/silent-callback.html'), - to: 'silent-callback.html', - toType: 'file', - }, { from: path.resolve(__dirname, '../src/root_files/robots.txt'), to: 'robots.txt', toType: 'file' }, { from: path.resolve(__dirname, '../src/root_files/sitemap.xml'), to: 'sitemap.xml', toType: 'file' }, { From 8a03a470e0b2feb9ee2c66c25dbf99c0eb13a697 Mon Sep 17 00:00:00 2001 From: Adrienne Rio Date: Thu, 6 Mar 2025 14:03:35 +0800 Subject: [PATCH 3/3]