Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

directory is not supported in permalink #262

Open
yangbowei opened this issue Aug 10, 2018 · 0 comments
Open

directory is not supported in permalink #262

yangbowei opened this issue Aug 10, 2018 · 0 comments

Comments

@yangbowei
Copy link

When I create a new article with permalink 'dir/nested-article', I can't open the article anymore with the url 'http://localhost:4444/kb/dir/nested-article', 'Not Found' error is shown.

Below is the error stack:

Error: Not Found
at /home/yang/openkb/openKB/app.js:273:15
at Layer.handle [as handle_request] (/home/yang/openkb/openKB/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/yang/openkb/openKB/node_modules/express/lib/router/index.js:317:13)
at /home/yang/openkb/openKB/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/home/yang/openkb/openKB/node_modules/express/lib/router/index.js:335:12)
at next (/home/yang/openkb/openKB/node_modules/express/lib/router/index.js:275:10)
at /home/yang/openkb/openKB/node_modules/express/lib/router/index.js:635:15
at next (/home/yang/openkb/openKB/node_modules/express/lib/router/index.js:260:14)
at Function.handle (/home/yang/openkb/openKB/node_modules/express/lib/router/index.js:174:3)
at router (/home/yang/openkb/openKB/node_modules/express/lib/router/index.js:47:12)
GET /kb/dir/nested-article 404 27.371 ms - -

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant