Skip to content

Commit

Permalink
chore: remove unused env
Browse files Browse the repository at this point in the history
  • Loading branch information
solufa committed Aug 24, 2024
1 parent 92e2cba commit 9cfa575
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ node_modules/
*.pem
tsconfig.tsbuildinfo
.env
**/$*.ts
$*.ts

# debug
npm-debug.log*
Expand All @@ -15,7 +15,7 @@ npm-debug.log*
client/.next/
client/out/
client/api/*
**/*.css.d.ts*
*.css.d.ts*

# server
server/index.js*
Expand Down
2 changes: 1 addition & 1 deletion client/.env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NEXT_PUBLIC_API_BASE_PATH=/api
NEXT_PUBLIC_COGNITO_POOL_ENDPOINT=http://localhost:5050
NEXT_PUBLIC_SERVER_PORT=31577
NEXT_PUBLIC_COGNITO_POOL_ENDPOINT=http://localhost:5050
NEXT_PUBLIC_COGNITO_USER_POOL_ID=ap-northeast-1_frourio
NEXT_PUBLIC_COGNITO_USER_POOL_CLIENT_ID=catapult
2 changes: 0 additions & 2 deletions client/utils/envValues.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const NEXT_PUBLIC_COGNITO_USER_POOL_ID = z
const NEXT_PUBLIC_COGNITO_USER_POOL_CLIENT_ID = z
.string()
.parse(process.env.NEXT_PUBLIC_COGNITO_USER_POOL_CLIENT_ID);
const NEXT_PUBLIC_SERVER_PORT = z.string().optional().parse(process.env.NEXT_PUBLIC_SERVER_PORT);
const NEXT_PUBLIC_COGNITO_POOL_ENDPOINT = z
.string()
.parse(process.env.NEXT_PUBLIC_COGNITO_POOL_ENDPOINT);
Expand All @@ -17,5 +16,4 @@ export {
NEXT_PUBLIC_COGNITO_POOL_ENDPOINT,
NEXT_PUBLIC_COGNITO_USER_POOL_CLIENT_ID,
NEXT_PUBLIC_COGNITO_USER_POOL_ID,
NEXT_PUBLIC_SERVER_PORT,
};

0 comments on commit 9cfa575

Please sign in to comment.