Skip to content

Commit

Permalink
remove testnet links
Browse files Browse the repository at this point in the history
  • Loading branch information
inciner8r committed Apr 11, 2024
1 parent 2e8ae89 commit 9680489
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion layout/AppTopbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function AppTopbar() {
const token = localStorage.getItem("platform_token");
const { data } = await axios.get(
// `${BASE_URL_LAUNCH}api/v1.0/profile/subscribe`,
`https://testnet.gateway.myriadflow.com/profile/subscribe`,
`https://gateway.myriadflow.com/profile/subscribe`,
{
headers: {
Authorization: `Bearer ${token}`,
Expand Down
4 changes: 2 additions & 2 deletions pages/profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const getUserDataFromLocalStorage = () => {
const client = new NFTStorage({ token: YOUR_API_KEY });
const BASE_URL = process.env.NEXT_PUBLIC_BASE_URL_GATEWAY;
console.log(BASE_URL);
// const BASE_URL = "https://testnet.gateway.myriadflow.com/";
// const BASE_URL = "https://gateway.myriadflow.com/";

function Profile() {
const { address } = useAccount();
Expand Down Expand Up @@ -184,7 +184,7 @@ function Profile() {
};
setLoading(true);
await axios.patch(
"https://testnet.gateway.myriadflow.com/api/v1.0/profile",
"https://gateway.myriadflow.com/api/v1.0/profile",
{ ...updateProfile },
config
);
Expand Down

0 comments on commit 9680489

Please sign in to comment.