Skip to content

Commit

Permalink
Change VITE_PUBLIC_SLOT for landing
Browse files Browse the repository at this point in the history
  • Loading branch information
bob0005 committed Jan 7, 2025
1 parent e789617 commit 148f866
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions client/apps/landing/.env.preview
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ VITE_LORDS_ADDRESS=0x0342ad5cc14002c005a5cedcfce2bd3af98d5e7fb79e9bf949b3a91cf14


VITE_PUBLIC_CHAIN=sepolia
VITE_PUBLIC_SLOT=

VITE_PUBLIC_CONSTRUCTION_FLAG=false
VITE_PUBLIC_HIDE_THREEJS_MENU=false
Expand Down
2 changes: 1 addition & 1 deletion client/apps/landing/.env.production
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ VITE_REALMS_ADDRESS=0x07ae27a31bb6526e3de9cf02f081f6ce0615ac12a6d7b85ee58b8ad794
VITE_LORDS_ADDRESS=0x0124aeb495b947201f5fac96fd1138e326ad86195b98df6dec9009158a533b49

VITE_PUBLIC_CHAIN=mainnet

VITE_PUBLIC_SLOT=eternum-prod

VITE_PUBLIC_CONSTRUCTION_FLAG=false
VITE_PUBLIC_HIDE_THREEJS_MENU=false
Expand Down
1 change: 1 addition & 0 deletions client/apps/landing/.env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ VITE_PUBLIC_CHAIN=local

VITE_PUBLIC_CONSTRUCTION_FLAG=false
VITE_PUBLIC_HIDE_THREEJS_MENU=false
VITE_PUBLIC_SLOT=

VITE_PUBLIC_ARK_MARKETPLACE_API=https://abc.com
VITE_PUBLIC_IMAGE_CDN_URL=https://abc.com
Expand Down
2 changes: 1 addition & 1 deletion client/apps/landing/.env.sepolia
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ VITE_REALMS_ADDRESS=0xd2674cc335684896f2b1f942e6929611acab4dc07aa03d0371226812bb
VITE_LORDS_ADDRESS=0x342ad5cc14002c005a5cedcfce2bd3af98d5e7fb79e9bf949b3a91cf145d72e

VITE_PUBLIC_CHAIN=sepolia

VITE_PUBLIC_SLOT=

VITE_PUBLIC_CONSTRUCTION_FLAG=false
VITE_PUBLIC_HIDE_THREEJS_MENU=false
Expand Down
2 changes: 2 additions & 0 deletions client/apps/landing/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ const envSchema = z.object({
VITE_PUBLIC_IMAGE_CDN_URL: z.string().url(),
VITE_PUBLIC_IMAGE_PROXY_URL: z.string().url(),
VITE_PUBLIC_IPFS_GATEWAY: z.string().url(),

VITE_PUBLIC_SLOT: z.string(),
});

let env: z.infer<typeof envSchema>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const otherResources = Object.entries(resourceAddresses)
.map(([_, [__, address]]) => address);

const theme: string = "eternum";
const slot: string = "realms-world-04";
const slot: string = env.VITE_PUBLIC_SLOT;
const namespace: string = "eternum";
const colorMode: ColorMode = "dark";

Expand Down

0 comments on commit 148f866

Please sign in to comment.