update seed blend
This commit is contained in:
@@ -1,18 +1,11 @@
|
||||
node_modules
|
||||
build
|
||||
dist
|
||||
.cache
|
||||
.git
|
||||
.gitignore
|
||||
README.md
|
||||
.env
|
||||
.nyc_output
|
||||
coverage
|
||||
.coverage
|
||||
*.log
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
.DS_Store
|
||||
.vscode
|
||||
.idea
|
||||
*.swp
|
||||
*.swo
|
||||
*~
|
||||
*.log
|
||||
coverage
|
||||
tmp
|
||||
.env
|
||||
*.local
|
||||
|
||||
@@ -12,11 +12,6 @@ RUN npm install --only=production --silent
|
||||
# Copy source code
|
||||
COPY . .
|
||||
|
||||
# Use the pre-created non-root user from the Node image
|
||||
# and ensure ownership is correct
|
||||
RUN chown -R node:node /app
|
||||
USER node
|
||||
|
||||
# Expose port
|
||||
EXPOSE 5000
|
||||
|
||||
|
||||
@@ -389,6 +389,7 @@ router.get('/products', async (req, res, next) => {
|
||||
categoryName: product.category_name,
|
||||
productType: product.product_type,
|
||||
activeIngredients: product.active_ingredients,
|
||||
seedBlend: product.seed_blend,
|
||||
description: product.description,
|
||||
rateCount: parseInt(product.rate_count),
|
||||
usageCount: parseInt(product.usage_count),
|
||||
|
||||
Reference in New Issue
Block a user