Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
fix: 🐛 add slash for path to redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
mitra-deriv committed Jan 26, 2024
1 parent 6bd3ca8 commit d8d7f92
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
2 changes: 1 addition & 1 deletion crowdin/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
"71535160": "Calculate the overnight fees for holding any open positions. The fees can be positive or negative depending on your swap rate.",
"71630191": "Do not share your account information and other personal details with anyone via Telegram.",
"71650838": "Speak simply and plainly, and not hide behind ambiguity",
"71755468": "In a journey spanning more than 23 years, we have grown to over 2.5 million customers worldwide. But our mission has remained the same:",
"73765361": "Chief Audit Executive",
"74138086": "Take control of your trades on Deriv MT5",
"74593350": "3. Select Real account or Demo account.",
Expand Down Expand Up @@ -4642,6 +4641,7 @@
"-1520902282": "No credit card needed",
"-2022759357": "Make trading accessible to anyone, anywhere",
"-77779780": "From inception, our goal was to break free of the high commissions and clunky products offered by traditional brokers. Also, we aim to deliver a first-class experience to digitally inclined traders, regardless of the size of their accounts.",
"-1321496264": "In a journey spanning 25 years, we have grown to over 2.5 million customers worldwide. But our mission has remained the same:",
"-554746075": "Integrity",
"-1917169640": "We serve our customers with fairness and transparency. We settle all contracts by the book and speak plainly and truthfully.",
"-1679427554": "Customer focus",
Expand Down
28 changes: 16 additions & 12 deletions gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const BuildPage = (page, actions) => {
})
createRedirect({
fromPath: `/contact-us`,
toPath: `/contact_us`,
toPath: `/contact_us/`,
redirectInBrowser: true,
isPermanent: true,
})
Expand Down Expand Up @@ -423,19 +423,23 @@ exports.onCreateWebpackConfig = ({ stage, actions, loaders, getConfig }, { ...op
usedExports: true,
},
plugins: [
new StylelintPlugin({...style_lint_options, ...options}),
new webpack.optimize.LimitChunkCountPlugin({maxChunks: 1}),
new StylelintPlugin({ ...style_lint_options, ...options }),
new webpack.optimize.LimitChunkCountPlugin({ maxChunks: 1 }),
],
resolve: {
modules: [path.resolve(__dirname, 'src'), 'node_modules'],
},
...((stage === 'build-html' || stage === 'develop-html') ? {
module: {
rules: [{
test: /analytics/,
use: loaders.null()
}]
}
} : {}),
...(stage === 'build-html' || stage === 'develop-html'
? {
module: {
rules: [
{
test: /analytics/,
use: loaders.null(),
},
],
},
}
: {}),
})
}
}

0 comments on commit d8d7f92

Please sign in to comment.