diff --git a/api/v1/src/notes.js b/api/v1/src/notes.js new file mode 100644 index 0000000..cc5c93b --- /dev/null +++ b/api/v1/src/notes.js @@ -0,0 +1,10 @@ +const fs = require('fs'); +const path = require('path'); + +function getReleaseNote() { + const filePath = path.join(__dirname, 'notes.json'); + const fileData = fs.readFileSync(filePath, 'utf-8'); + return JSON.parse(fileData); +} + +module.exports = getReleaseNote;