Skip to content

Commit

Permalink
Merge pull request #228 from jonfairbanks/fix/missing-dependencies
Browse files Browse the repository at this point in the history
Fix missing dependencies
  • Loading branch information
jonfairbanks authored Oct 13, 2024
2 parents 36e1398 + f3f6782 commit 5034d97
Show file tree
Hide file tree
Showing 4 changed files with 130 additions and 39 deletions.
1 change: 0 additions & 1 deletion .tf/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ function deploy {
npm prune --omit=dev && \

# Create a dist folder and copy only the js files to dist.
# Note: AWS Lambda does not have a use for a package.json or typescript files on runtime.
mkdir -p dist/ && \
rsync -av --prune-empty-dirs --exclude='chart' --include='*/' --include='*.js' --exclude='*' ./ dist/ && \
cd dist && \
Expand Down
2 changes: 1 addition & 1 deletion server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ if (mongoose.connection.readyState === 0) {
});
}

// Setup Rate Limiter:
// Setup Rate Limiter
var limiter = RateLimit({
windowMs: 30 * 60 * 1000, // 30 minutes
max: 150,
Expand Down
165 changes: 128 additions & 37 deletions server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"express": "^4.18.2",
"express-rate-limit": "^7.4.1",
"helmet": "^7.2.0",
"mongodb": "^6.9.0",
"mongoose": "^7.8.2",
"path-parser": "^6.1.0",
"redis": "^4.7.0",
Expand Down

0 comments on commit 5034d97

Please sign in to comment.