SpringBoot 配置context-path

来源:互联网 发布:浙江软件企业认定 编辑:程序博客网 时间:2024/05/22 07:46
在application.properties进行配置:


server.context-path=/spring-boot




访问地址就是http://ip:port/spring-boot
原创粉丝点击