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

When nested directories are nested, add the nested subdirectories to the url and report 404 The controller/home/UserController. Js Visit: / home/user, 404 #23

Open
baiping01 opened this issue Oct 23, 2017 · 1 comment

Comments

@baiping01
Copy link

When nested directories are nested, add the nested subdirectories to the url and report 404
The controller/home/UserController. Js
Visit: / home/user, 404

@moshaheen
Copy link

I've a fix for this . in the translatePath function add the following after
var path = dirPath.replace(this.directory, '') + '/';

// for windows directory
path = path.replace("\","/");

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

2 participants