diff --git a/build/connect.js b/build/connect.js index 5b51839b21d6..043c5329cc4d 100644 --- a/build/connect.js +++ b/build/connect.js @@ -25,7 +25,7 @@ module.exports = function (grunt) { ]; const rules = [ - '^/binary-static/(.*)$ /$1', + '^/deriv-app/(.*)$ /$1', `^/(${lang_regex})/index(\\.html)?/(.*)$ /$1/$2 [L]`, `^/(${lang_regex})/service-worker\\.js$ - [L]`, `^/(${lang_regex})/manifest\\.json$ - [L]`, diff --git a/package-lock.json b/package-lock.json index 152a250df26f..6b093f5b35be 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12155,9 +12155,9 @@ } }, "smartcharts-beta": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/smartcharts-beta/-/smartcharts-beta-0.4.24.tgz", - "integrity": "sha512-LOFF4VraPFyO+EpO52uaTLGedw8KlBXeqtdsGZ5eD8Pf+0cZCTjrULB+5uWAjNOjJhnLoJVYn7KQAFWNXqhp7Q==", + "version": "0.4.25", + "resolved": "https://registry.npmjs.org/smartcharts-beta/-/smartcharts-beta-0.4.25.tgz", + "integrity": "sha512-QEoKKKxvufO6CxdAbv2jyq7wlanfZvLfOWTYJ2IVd47M4ij1gsz+7dFo/Fb63vFesMDmTL5AYXxWepD+dhFVSw==", "requires": { "event-emitter-es6": "^1.1.5", "lodash.debounce": "^4.0.8", diff --git a/package.json b/package.json index fe289a9f418e..4433350783ad 100644 --- a/package.json +++ b/package.json @@ -126,7 +126,7 @@ "react-router-dom": "5.0.0", "react-transition-group": "2.4.0", "sinon": "7.2.2", - "smartcharts-beta": "0.4.24", + "smartcharts-beta": "0.4.25", "tt-react-custom-scrollbars": "4.2.1-tt2", "url-polyfill": "1.0.9", "web-push-notifications": "3.2.15" diff --git a/scripts/render.js b/scripts/render.js index 8cef27ad9c8a..1a52d4ae059a 100755 --- a/scripts/render.js +++ b/scripts/render.js @@ -76,7 +76,7 @@ const getConfig = () => ( dist_path : Path.join(common.root_path, 'dist', (program.branch || '')), languages : program.branch === 'translations' ? ['ACH'] : common.languages, root_path : common.root_path, - root_url : `/${program.dev && !fs.existsSync(Path.join(common.root_path, 'scripts', 'CNAME')) ? 'binary-static/' : ''}${program.branch ? `${program.branch}/` : ''}`, + root_url : `/${program.dev && !fs.existsSync(Path.join(common.root_path, 'scripts', 'CNAME')) ? 'deriv-app/' : ''}${program.branch ? `${program.branch}/` : ''}`, } );