From 867b56fb7721f7ad0656965e46d7f3b1ad294343 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=BC=E3=83=BC=E3=83=AC?= Date: Sun, 11 May 2025 22:01:22 +0500 Subject: [PATCH] Create notes.js --- api/v1/src/notes.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 api/v1/src/notes.js 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;