add: 多环境配置

This commit is contained in:
xieYj 2021-05-11 11:42:19 +08:00
parent 086ab27837
commit a18783fca4
5 changed files with 15 additions and 1 deletions

View File

@ -3,6 +3,10 @@ package cn.allms.community;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* 啓動入口
* @author josxy
*/
@SpringBootApplication
public class MxCommunityApplication {

View File

@ -0,0 +1,4 @@
server:
port: 9420
servlet:
context-path: /api

View File

@ -0,0 +1,4 @@
server:
port: 9420
servlet:
context-path: /server

View File

@ -1 +0,0 @@

View File

@ -0,0 +1,3 @@
spring:
profiles:
active: dev