Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #104

Merged
merged 12 commits into from
Nov 19, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: update .gitignore to include stack.env and remove unused envir…
…onment variables from app-environment.ts
tidvn committed Nov 19, 2024
commit d16e82e41d68cfacd66307d8da728e0c1cd07503
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -44,4 +44,5 @@ build/
docs/

plutus.json
yarn.lock
yarn.lock
stack.env
4 changes: 0 additions & 4 deletions src/constants/app-environment.ts
Original file line number Diff line number Diff line change
@@ -9,17 +9,13 @@ const appNetwork: Network =

const appNetworkId = appNetwork === "mainnet" ? 1 : 0;

const BACKEND_URL = process.env.BACKEND_URL || "";
const CONTEXT_PATH = process.env.CONTEXT_PATH || "/api";
const IPFS_ENDPOINT = process.env.IPFS_ENDPOINT || "";
const IPFS_GATEWAY = process.env.NEXT_PUBLIC_IPFS_GATEWAY || "https://ipfs.io/";
export {
appNetwork,
appNetworkId,
BLOCKFROST_API_KEY,
KOIOS_RPC_URL,
BACKEND_URL,
CONTEXT_PATH,
IPFS_ENDPOINT,
IPFS_GATEWAY,
};