访问路径为什么一定要加上.html,可以配置省略缺省吗?
caojieliang opened this issue · 4 comments
caojieliang commented
http:// localhost:8091/views/home/list.html
访问路径为什么一定要加上.html,可以配置省略缺省吗(如下地址)?怎么改
http:// localhost:8091/views/home/list
bluefox1688 commented
可以用nginx
配置
caojieliang commented
不是很了解nginx
bluefox1688 commented
百度学习下
pzZZZZ commented
用Nginx 或者后端环境配置路由