Skip to content

Commit

Permalink
Merge branch 'feature/search-component' of github.com:DEFRA/phi-front…
Browse files Browse the repository at this point in the history
…end into feature/country-search
  • Loading branch information
Abirami committed May 29, 2024
2 parents 660f6a1 + e85c50e commit 65c87ae
Show file tree
Hide file tree
Showing 13 changed files with 14,414 additions and 675 deletions.
8 changes: 6 additions & 2 deletions mock-api/api.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
const { products } = require('./products')
const { countries } = require('./countries')
const fs = require('fs')
const path = require('path')
const plantJson = `./products/plants.json`
const filePath = path.join(__dirname, plantJson)
const plants = JSON.parse(fs.readFileSync(filePath, 'utf8'))

module.exports = { products, countries }
module.exports = { products, plants }
Loading

0 comments on commit 65c87ae

Please sign in to comment.