Showing
1 changed file
with
2 additions
and
2 deletions
1 | -const app = require('./server'); | 1 | +const app = require('../server'); |
2 | -const db = require('./db'); | 2 | +const db = require('../db'); |
3 | 3 | ||
4 | app.get('/board', async(req, res) => { | 4 | app.get('/board', async(req, res) => { |
5 | res.json({boards: await db.get('board').find()}); | 5 | res.json({boards: await db.get('board').find()}); | ... | ... |
-
Please register or login to post a comment