Skip to content

Commit

Permalink
Merge pull request #4 from Staketab/dev
Browse files Browse the repository at this point in the history
new test deploy
  • Loading branch information
gavrushoves authored Jan 4, 2024
2 parents 9949de4 + b6311ef commit 5fe29ac
Show file tree
Hide file tree
Showing 149 changed files with 9,021 additions and 11,013 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# lst-mina

20 changes: 20 additions & 0 deletions apps/ui/config/config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
const environmentName = process.env.NODE_ENV;

export const getConfig = (): {
graphql: string;
} => {
switch (environmentName) {
case 'production':
return {
graphql: 'https://score.minascan.io',
};
case 'development':
return {
graphql: 'http://localhost:8080',
};
default:
return {
graphql: 'https://score.minascan.io',
};
}
};
Loading

0 comments on commit 5fe29ac

Please sign in to comment.