Skip to content

Commit

Permalink
Merge pull request #488 from Sifchain/staging
Browse files Browse the repository at this point in the history
hotfix: replace absolute links to old domain
  • Loading branch information
alanrsoares authored Mar 25, 2022
2 parents 32d189f + a38584d commit 2b77be7
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion node_modules/.yarn-integrity

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ui/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "app",
"version": "2.4.1",
"version": "2.4.2",
"private": true,
"scripts": {
"bump": "bump patch --tag --commit 'testnet release '",
Expand Down
6 changes: 3 additions & 3 deletions ui/app/src/componentsLegacy/Footer/Footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,13 @@ export default defineComponent({
>
<a
target="_blank"
href="https://sifchain.finance/wp-content/uploads/2020/12/Sifchain-Website-Privacy-Policy.pdf"
href="https://www.sifchain.finance/wp-content/uploads/2020/12/Sifchain-Website-Privacy-Policy.pdf"
>Privacy Policy</a
>
<a target="_blank" href="https://sifchain.finance/#roadmap"
<a target="_blank" href="https://www.sifchain.finance/#roadmap"
>Roadmap</a
>
<a target="_blank" href="https://sifchain.finance/legal-disclamer/"
<a target="_blank" href="https://www.sifchain.finance/legal-disclamer/"
>Legal Disclaimer</a
>
</div>
Expand Down
8 changes: 4 additions & 4 deletions ui/app/src/componentsLegacy/NavSidePanel/NavMoreMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,23 @@ export default defineComponent({
},
{
name: "Newsletter",
href: "https://sifchain.finance/#newsletter",
href: "https://www.sifchain.finance/#newsletter",
},
{
name: "Legal Disclaimer",
href: "https://sifchain.finance/legal-disclamer/",
href: "https://www.sifchain.finance/legal-disclamer/",
},
{
name: "Roadmap",
href: "https://sifchain.finance/#roadmap",
href: "https://www.sifchain.finance/#roadmap",
},
{
name: "Tutorials",
href: "https://www.youtube.com/playlist?list=PLj5x_t273CNiBvcH6GjI9gBPzMFm9BlCL",
},
{
name: "Privacy Policy",
href: "https://sifchain.finance/wp-content/uploads/2020/12/Sifchain-Website-Privacy-Policy.pdf",
href: "https://www.sifchain.finance/wp-content/uploads/2020/12/Sifchain-Website-Privacy-Policy.pdf",
},
{
name: "Rewards Calculator",
Expand Down
4 changes: 2 additions & 2 deletions ui/scripts/generate-vercel-redirects.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ async function main() {
// Redirect all blocked countries to the root of the site.
{
source: "/(.*)",
destination: "https://sifchain.finance/legal-disclamer",
destination: "https://www.sifchain.finance/legal-disclamer",
has: [
{
type: "header",
Expand All @@ -70,7 +70,7 @@ async function main() {
// Redirect Crimea.
{
source: "/(.*)",
destination: "https://sifchain.finance/legal-disclamer",
destination: "https://www.sifchain.finance/legal-disclamer",
has: [
{
type: "header",
Expand Down
4 changes: 2 additions & 2 deletions ui/vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"redirects": [
{
"source": "/(.*)",
"destination": "https://sifchain.finance/legal-disclamer",
"destination": "https://www.sifchain.finance/legal-disclamer",
"has": [
{
"type": "header",
Expand All @@ -29,7 +29,7 @@
},
{
"source": "/(.*)",
"destination": "https://sifchain.finance/legal-disclamer",
"destination": "https://www.sifchain.finance/legal-disclamer",
"has": [
{
"type": "header",
Expand Down

1 comment on commit 2b77be7

@vercel
Copy link

@vercel vercel bot commented on 2b77be7 Mar 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.