Skip to content

Commit

Permalink
Merge pull request #2434 from BibliothecaDAO/next
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
ponderingdemocritus authored Dec 11, 2024
2 parents c51a01c + 764b5c6 commit e8dfac4
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions landing/dojoConfig.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { createDojoConfig } from "@dojoengine/core";
import devManifest from "../contracts/manifest_dev.json";
import productionManifest from "../contracts/manifest_prod.json";
import productionManifest from "../contracts/manifest_mainnet.json";
import sepoliaManifest from "../contracts/manifest_prod.json";
import { env } from "./env";

const {
Expand All @@ -15,8 +16,12 @@ const {
VITE_PUBLIC_CHAIN,
} = env;

const isLocal = VITE_PUBLIC_CHAIN === "local" || VITE_PUBLIC_CHAIN === "testnet";
const manifest = VITE_PUBLIC_DEV === true && isLocal ? devManifest : productionManifest;
// const isLocal = VITE_PUBLIC_CHAIN === "local" || VITE_PUBLIC_CHAIN === "testnet";
// const manifest = VITE_PUBLIC_DEV === true && isLocal ? devManifest : productionManifest;

let manifest = VITE_PUBLIC_DEV === true ? devManifest : sepoliaManifest;

manifest = VITE_PUBLIC_CHAIN === "mainnet" ? productionManifest : manifest;

export const getManifest = () => {
return manifest;
Expand Down

0 comments on commit e8dfac4

Please sign in to comment.