Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

Wrong route for user DB #1

Open
indie-rok opened this issue Jul 18, 2017 · 0 comments
Open

Wrong route for user DB #1

indie-rok opened this issue Jul 18, 2017 · 0 comments

Comments

@indie-rok
Copy link

indie-rok commented Jul 18, 2017

On server.js the route to define the DB is:

const db = levelup('./data/users', {valueEncoding: 'json'});
But the real route is

const db = levelup('./api/users', {valueEncoding: 'json'});

If not fixed, console throws an error when running the API

@indie-rok indie-rok mentioned this issue Jul 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant