From 9eddb5f3627b8b1650abdbb608c85ff5814cf8d0 Mon Sep 17 00:00:00 2001 From: adrienne-deriv <103016120+adrienne-deriv@users.noreply.github.com> Date: Thu, 6 Mar 2025 14:26:29 +0800 Subject: [PATCH] Adrienne / Add front channels (#18105) * feat: store redirect metadata for traders hub from os-redirect * Merge branch 'master' of github.com:deriv-com/deriv-app * chore: add new route for front channels to be registered in hydra * chore: remove route for silent callback --- packages/core/build/config.js | 5 ++++ .../core/src/root_files/front-channel.html | 26 +++++++++++++++++++ 2 files changed, 31 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..4821a7bd3772 100644 --- a/packages/core/build/config.js +++ b/packages/core/build/config.js @@ -115,6 +115,11 @@ 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/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 + + + + + +