From 6f5413879fc6c4afe04cde9bb930aa9182c57974 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Wed, 29 Jan 2020 11:21:51 +0100 Subject: Fix path list --- api/kronikarz.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 api/kronikarz.js (limited to 'api/kronikarz.js') diff --git a/api/kronikarz.js b/api/kronikarz.js new file mode 100644 index 0000000..5658365 --- /dev/null +++ b/api/kronikarz.js @@ -0,0 +1,7 @@ +import Kronikarz from 'kronikarz' + +const POSTS_PATH = './content/wpisy' + +const k = new Kronikarz(POSTS_PATH) + +export default k -- cgit 1.4.1