about summary refs log tree commit diff
path: root/nuxt.config.js
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-10-14 21:57:50 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-10-14 21:57:50 +0200
commit4fe5fef70b111ab0e10d91ee7060302a52ca3b76 (patch)
treeb0d93c439bd9050938344cf4534a1ff4b4e3cc55 /nuxt.config.js
parentccb84eca016c8b81c074f17f188f4df47fa770ce (diff)
downloadpuszcza-4fe5fef70b111ab0e10d91ee7060302a52ca3b76.tar.gz
puszcza-4fe5fef70b111ab0e10d91ee7060302a52ca3b76.zip
Revert "Add kronikarz"
This reverts commit d400b53bee9ba563810171c217710d4176b7c367.
Diffstat (limited to 'nuxt.config.js')
-rw-r--r--nuxt.config.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuxt.config.js b/nuxt.config.js
index 6ef4e09..016f39f 100644
--- a/nuxt.config.js
+++ b/nuxt.config.js
@@ -1,4 +1,4 @@
-import k from './api'
+import { createRoutesArray } from './api/api.js'
 
 export default {
   mode: 'universal',
@@ -34,7 +34,7 @@ export default {
     ]
   },
   generate: {
-    routes: k.getPosts().map(post => post.route)
+    routes: createRoutesArray()
   },
   /*
    ** Customize the progress-bar color