Skip to content

Commit

Permalink
Merge branch 'development' of https://github.com/optimism-java/disput…
Browse files Browse the repository at this point in the history
…e-explorer-frontend into development
  • Loading branch information
lance10030 committed Sep 19, 2024
2 parents f99085a + af3e33c commit 2750c32
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const nextConfig = {
return [
{
source: "/index/:path*",
destination: "http://65.109.69.98:7700/:path*", // Proxy to Backend, token required
destination: "http://65.109.69.98:7701/:path*", // Proxy to Backend, token required
},
// {
// source: "/indexMain/:path*",
Expand All @@ -18,11 +18,11 @@ const nextConfig = {
// },
{
source: "/api/:path*",
destination: "http://65.109.69.98:9001/:path*", // Proxy to Backend
destination: "http://65.109.69.98:9002/:path*", // Proxy to Backend
},
{
source: "/docs/:path*",
destination: "http://65.109.69.98:9001/:path*", // Proxy to Backend, token required
destination: "http://65.109.69.98:9002/:path*", // Proxy to Backend, token required
},
// {
// source: "/apiMain/:path*",
Expand Down
4 changes: 2 additions & 2 deletions src/hooks/useNetworkConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { useMemo } from "react";

export const useNetworkConfig = (): NetworkConfig => {
const host = window?.location?.host;
const defaultNetwork = networkConfigs["sepolia"];
defaultNetwork.network = "sepolia";
const defaultNetwork = networkConfigs["mainnet"];
defaultNetwork.network = "mainnet";
const config = useMemo(() => {
for (const key of Object.keys(networkConfigs)) {
const val = networkConfigs[key as Network];
Expand Down

0 comments on commit 2750c32

Please sign in to comment.