Skip to content

Commit

Permalink
Update API host and remove unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
Jennievon committed Aug 14, 2024
1 parent 4cdd296 commit bd0738f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contracts/src/bridge/frontend/src/lib/constants.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export const environment = process.env.NEXT_PUBLIC_BRIDGE_API_HOST_ENVIRONMENT;

export const apiHost = `https://${environment}-api.tenscan.io`;
export const apiHost = process.env.NEXT_PUBLIC_BRIDGE_API_HOST;

export const socialLinks = {
github: "https://github.com/ten-protocol",
Expand Down
3 changes: 1 addition & 2 deletions contracts/src/bridge/frontend/src/routes/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { NavLink } from "../types";
import { environment } from "../lib/constants";

export const NavLinks: NavLink[] = [
// {
Expand All @@ -20,7 +19,7 @@ export const NavLinks: NavLink[] = [

export const apiRoutes = {
getHealthStatus: `/info/health/`,
getObscuroConfig: `http://erpc.${environment}.obscu.ro:80/`,
getObscuroConfig: `/network-config`,
};

export const requestMethods = {
Expand Down

0 comments on commit bd0738f

Please sign in to comment.