Skip to content

Commit fbbe50e

Browse files
parsabr80theAwmin
authored andcommitted
fix warning and baseUrl
1 parent 110b5bb commit fbbe50e

64 files changed

Lines changed: 110 additions & 118 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@
88
<link
99
rel="apple-touch-icon"
1010
sizes="180x180"
11-
href="https://rgb.irpsc.com/images/logo/apple-touch-icon.png"
11+
href="https://metarang.com/images/logo/apple-touch-icon.png"
1212
/>
1313
<link
1414
rel="icon"
1515
type="image/png"
1616
sizes="32x32"
17-
href="https://rgb.irpsc.com/images/logo/favicon-32x32.png"
17+
href="https://metarang.com/images/logo/favicon-32x32.png"
1818
/>
1919
<link
2020
rel="icon"
2121
type="image/png"
2222
sizes="16x16"
23-
href="https://rgb.irpsc.com/images/logo/favicon-16x16.png"
23+
href="https://metarang.com/images/logo/favicon-16x16.png"
2424
/>
2525
</head>
2626
<body>

public/styleMap.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"sources": {
66
"carto": {
77
"type": "vector",
8-
"url": "/metaverse/tile.json"
8+
"url": "/tile.json"
99
}
1010
},
1111
"sprite": "",

src/App.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function App() {
2727
broadcaster: "pusher",
2828
key: "local",
2929
cluster: "",
30-
wsHost: "api.rgb.irpsc.com",
30+
wsHost: "api.metarang.com",
3131
wsPort: 6001,
3232
wssPort: 6001,
3333
encrypted: true,

src/components/Education/Footer.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ const Footer = ({ show, data }) => {
112112
<Container show={show}>
113113
<Right>
114114
<a
115-
href={`https://rgb.irpsc.com/fa/citizens/${data?.creator_code}`}
115+
href={`https://metarang.com/fa/citizens/${data?.creator_code}`}
116116
target="_blank"
117117
>
118118
{data?.creator_code}

src/components/Header/Header.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,12 +133,12 @@ const Header = ({
133133
const navigation = useNavigate();
134134
const { resetStates } = useSelectedEnvironment();
135135

136-
const newStr = location.pathname.replace(/\/metaverse\//g, "") + "-";
136+
const newStr = location.pathname.replace(/\//g, "") + "-";
137137
const locationPage = location?.state?.locationPage;
138138
const adviserData = useAdviserData(newStr, locationPage);
139139

140140
const handleReportClick = () => {
141-
navigation("/metaverse/report/send", {
141+
navigation("/report/send", {
142142
state: {
143143
from: location.pathname,
144144
},
@@ -147,7 +147,7 @@ const Header = ({
147147

148148
const handleExitClick = () => {
149149
if (handleExit) {
150-
navigation(location.state?.background?.pathname || "/metaverse", {
150+
navigation(location.state?.background?.pathname || "", {
151151
replace: true,
152152
});
153153
handleExit();

src/components/Lottie/Commercial.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default function Commercial() {
2323

2424
useLayoutEffect(() => {
2525
const TimeOut = setTimeout(() => {
26-
navigate("/metaverse");
26+
navigate("/");
2727
}, 5000);
2828

2929
return () => clearTimeout(TimeOut);

src/components/Lottie/Educational.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default function Educational() {
2323

2424
useLayoutEffect(() => {
2525
const TimeOut = setTimeout(() => {
26-
navigate("/metaverse");
26+
navigate("");
2727
}, 5000);
2828

2929
return () => clearTimeout(TimeOut);

src/components/Lottie/Residential.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default function Residential() {
2323

2424
useLayoutEffect(() => {
2525
const TimeOut = setTimeout(() => {
26-
navigate("/metaverse");
26+
navigate("");
2727
}, 5000);
2828

2929
return () => clearTimeout(TimeOut);

src/components/Lottie/SignupLottie.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default function SignupLottie() {
4242

4343
useLayoutEffect(() => {
4444
const TimeOut = setTimeout(() => {
45-
navigate("/metaverse/login");
45+
navigate("/login");
4646
}, 5000);
4747

4848
return () => clearTimeout(TimeOut);

src/components/Modal/ModalLg.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const ModalLg = ({ children, titleId, setShowModal, report }) => {
7575
{report && (
7676
<ReportIcon
7777
onClick={() =>
78-
Navigate("/metaverse/report/send", {
78+
Navigate("/report/send", {
7979
state: {
8080
from: location.pathname,
8181
},

0 commit comments

Comments
 (0)