Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
Signed-off-by: Evaldo Felipe <[email protected]>
  • Loading branch information
evaldofelipe committed Jan 21, 2025
1 parent f5a2092 commit caf9b61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions api/available-routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ type AvailableRoutesQueryParams = Infer<

const handler = async (_: any, response: VercelResponse) => {
response.status(200).json({
test: process.env.GIT_ENV_EXPORTED,
test2: process.env.REACT_APP_HUBPOOL_CHAINID,
test: process.env.REACT_APP_HUBPOOL_CHAINID,
});
return;
};
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"scripts": {
"start": "export REACT_APP_GIT_COMMIT_HASH=$(git rev-parse HEAD) && vite",
"dev": "export REACT_APP_GIT_COMMIT_HASH=$(git rev-parse HEAD) && vite --port $PORT --host",
"build": "yarn prebuild-env && yarn prebuild && echo $GIT_ENV_EXPORTED && export REACT_APP_GIT_COMMIT_HASH=$(git rev-parse HEAD) && tsc && vite build",
"build": "yarn prebuild-env && yarn prebuild && source output_vercel_build.env && echo $GIT_ENV_EXPORTED && export REACT_APP_GIT_COMMIT_HASH=$(git rev-parse HEAD) && tsc && vite build",
"prebuild": "tsx scripts/pre-build.ts",
"prebuild-env": "./scripts/pre-build-env.sh",
"analyze": "yarn build && rollup-plugin-visualizer --open ./bundle-size-analysis.json",
Expand Down

0 comments on commit caf9b61

Please sign in to comment.