This commit is contained in:
syuilo 2018-04-08 16:17:30 +09:00
parent 9199414ea3
commit 238984be39

View File

@ -1,6 +1,7 @@
// for Node.js interpret // for Node.js interpret
const { default: Post } = require('../../../built/models/post'); const mongodb = require("../../../built/db/mongodb");
const Post = mongodb.default.get('posts');
const { default: zip } = require('@prezzemolo/zip') const { default: zip } = require('@prezzemolo/zip')
const html = require('../../../built/text/html').default; const html = require('../../../built/text/html').default;
const parse = require('../../../built/text/parse').default; const parse = require('../../../built/text/parse').default;