Skip to content

Commit

Permalink
hotfix: update domain
Browse files Browse the repository at this point in the history
  • Loading branch information
mwmerz committed Aug 21, 2023
1 parent 16a2058 commit bd6ab78
Show file tree
Hide file tree
Showing 13 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "terra-station",
"description": "A web application to interact with Terra Core.",
"hompage": "https://station.terra.money",
"hompage": "https://station.money",
"author": "Terra <[email protected]> (https://terra.money)",
"repository": "github:terra-money/station",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"manifest_version": 3,
"name": "Station Wallet",
"version": "7.4.2",
"version_name": "7.4.2",
"version": "7.4.3",
"version_name": "7.4.3-hotfix-domain",
"background": {
"service_worker": "background.js"
},
Expand Down
4 changes: 2 additions & 2 deletions scripts/contentScript.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if (shouldInjectProvider()) {
*/
function checkWebpage() {
browser.storage.local.get(["blacklist"]).then(async ({ blacklist }) => {
const WARNING_PAGE = `https://scam-warning.terra.money/`
const WARNING_PAGE = `https://scam-warning.pages.dev/`

function checkAndRedirect(list) {
// if user is visiting a blacklisted domain or subdomain
Expand All @@ -40,7 +40,7 @@ function checkWebpage() {

// update every 10min
if (!blacklist || blacklist.updatedAt < Date.now() - 1000 * 60 * 10) {
const BLACKLIST_URL = "https://assets.terra.money/blacklist.json"
const BLACKLIST_URL = "https://assets.terra.dev/blacklist.json"
const response = await fetch(BLACKLIST_URL)
const list = await response.json()
checkAndRedirect(list)
Expand Down
2 changes: 1 addition & 1 deletion scripts/inpage.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ window.isStationExtensionAvailable = true
const STATION_INFO = {
name: "Station Wallet",
identifier: "station",
icon: "https://assets.terra.money/icon/station-extension/icon.png",
icon: "https://assets.terra.dev/icon/station-extension/icon.png",
}

if (
Expand Down
2 changes: 1 addition & 1 deletion src/app/sections/WelcomeModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const accordions = [
[
" You can find a guide ",
<ExternalLink
href="https://docs.terra.money/learn/station/migration/"
href="https://docs-terra.pages.dev/learn/station/migration/"
target="_blank"
rel="noopener noreferrer"
>
Expand Down
10 changes: 5 additions & 5 deletions src/config/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ export const LAZY_LIMIT = 999
export const BRIDGE = "https://walletconnect.terra.dev"

/* api */
export const ASSETS = "https://assets.terra.money"
export const STATION_ASSETS = "https://station-assets.terra.money"
export const ASSETS = "https://assets.terra.dev"
export const STATION_ASSETS = "https://station-assets.terra.dev"
export const OBSERVER = "wss://observer.terra.dev"

/* website */
export const STATION = "https://station.terra.money"
export const STATION = "https://station.money"
export const EXTENSION =
"https://chrome.google.com/webstore/detail/aiifbnbfobpmeekipheeijimdpnlpgpp"
export const DOCUMENTATION =
"https://docs.terra.money/learn/terra-station/Download/terra-station-desktop.html"
export const SETUP = "https://setup-station.terra.money/"
"https://docs-terra.pages.dev/learn/terra-station/Download/terra-station-desktop.html"
export const SETUP = "https://setup.station.money/"

/* website: fiat ramp */
export const FIAT_RAMP = "https://app.kado.money/"
Expand Down
2 changes: 1 addition & 1 deletion src/data/external/osmosis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const OSMOSIS_API_URL = "https://api-osmosis.imperator.co"

export const GAMM_TOKEN_DECIMALS = 18
export const OSMO_ICON =
"https://station-assets.terra.money/img/chains/Osmosis.svg"
"https://station-assets.terra.dev/img/chains/Osmosis.svg"

interface IOsmosisPoolAsset {
symbol: string
Expand Down
8 changes: 4 additions & 4 deletions src/data/token.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export const useNativeDenoms = () => {
token: denom,
symbol: "LUNC",
name: "Luna Classic",
icon: "https://assets.terra.money/icon/svg/LUNC.svg",
icon: "https://assets.terra.dev/icon/svg/LUNC.svg",
decimals: 6,
isNonWhitelisted: false,
}
Expand All @@ -190,7 +190,7 @@ export const useNativeDenoms = () => {
token: denom,
symbol: "LUNA",
name: "Luna",
icon: "https://assets.terra.money/icon/svg/Luna.svg",
icon: "https://assets.terra.dev/icon/svg/Luna.svg",
decimals: 6,
isNonWhitelisted: false,
}
Expand All @@ -206,10 +206,10 @@ export const useNativeDenoms = () => {
type: tokenType,
icon:
tokenType === "ibc"
? "https://assets.terra.money/icon/svg/IBC.svg"
? "https://assets.terra.dev/icon/svg/IBC.svg"
: tokenType === "factory" || tokenType === "gamm"
? factoryIcon
: "https://assets.terra.money/icon/svg/Terra.svg",
: "https://assets.terra.dev/icon/svg/Terra.svg",
decimals,
isNonWhitelisted: true,
}
Expand Down
2 changes: 1 addition & 1 deletion src/extension/SampleTxRequest.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const memo =
const SampleTxRequest = {
id,
timestamp: new Date(id),
origin: "https://station.terra.money",
origin: "https://station.money",
requestType: "post" as const,
tx: {
msgs: [new MsgSend(address, address, "1uusd")],
Expand Down
2 changes: 1 addition & 1 deletion src/extension/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export const toData = (result: any, isClassic?: boolean) => {
export const getIsNativeMsgFromExternal = (origin: string) => {
return (msg: Msg) => {
// TODO: fix that
if (origin.includes("https://station.terra.money")) return false
if (origin.includes("https://station.money")) return false
const type = msg.toData()["@type"]
return type !== "/terra.wasm.v1beta1.MsgExecuteContract"
}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/wallet/AssetActions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const AssetActions = ({ token, symbol, balance }: Props) => {
{token.startsWith("ibc/") && (
<ExternalIconLink
icon={<OpenInNewIcon style={{ fontSize: 18 }} />}
href={`https://bridge.terra.money`}
href={`https://bridge.station.money`}
>
{t("Bridge")}
</ExternalIconLink>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/wallet/AssetList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const AssetList = () => {
[key]: {
denom: data.token,
balance: amount,
icon: "https://assets.terra.money/icon/svg/LUNC.svg",
icon: "https://assets.terra.dev/icon/svg/LUNC.svg",
symbol: "LUNC",
price: prices?.["uluna:classic"]?.price ?? 0,
change: prices?.["uluna:classic"]?.change ?? 0,
Expand Down
4 changes: 2 additions & 2 deletions src/txs/gov/SubmitProposalForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -403,8 +403,8 @@ const SubmitProposalForm = ({ chain }: { chain: string }) => {
{networks[chain]?.prefix === "terra" && (
<FormHelp>
Upload proposal only after forum discussion on{" "}
<ExternalLink href="https://agora.terra.money">
agora.terra.money
<ExternalLink href="https://commonwealth.im/terra">
commonwealth.im/terra
</ExternalLink>
</FormHelp>
)}
Expand Down

0 comments on commit bd6ab78

Please sign in to comment.