vue-admin
vue-admin copied to clipboard
URL's with extensions are not loaded
This is an example of URL:
http://127.0.0.1:8081/storage/example.py
But what we get in response is:
Cannot GET /storage/example.py
Configured path:
path: 'storage/*'
Any suggestion on how to fix this?
Any suggestions on getting this fixed?
Which path? Is it in client/router/index.js
?
I put it in browse.js
Any suggestions, because this problem is stopping us from deploying to production?
Have you added .py
to your webpack build extensions?
https://github.com/vue-bulma/vue-admin/blob/master/build/webpack.base.conf.js#L28
I added it, but still having the same issue.
I see that if I change mode of router from history back to hash, I can navigate to the files, but we would not like to have the hash in the url in production. Any suggestions?