Skip to content

Commit b42a4c8

Browse files
committed
add static file
1 parent 37f24c0 commit b42a4c8

File tree

178 files changed

+71499
-26
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

178 files changed

+71499
-26
lines changed
Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
package org.spring.springboot;
2-
3-
import org.springframework.boot.SpringApplication;
4-
import org.springframework.boot.autoconfigure.SpringBootApplication;
5-
6-
/**
7-
* Spring Boot 应用启动类
8-
*
9-
* Created by bysocket on 16/4/26.
10-
*/
11-
// Spring Boot 应用的标识
12-
@SpringBootApplication
13-
public class Application {
14-
15-
public static void main(String[] args) {
16-
// 程序启动入口
17-
// 启动嵌入式的 Tomcat 并初始化 Spring 环境及其各 Spring 组件
18-
SpringApplication.run(Application.class,args);
19-
}
20-
}
1+
package org.spring.springboot;
2+
3+
import org.springframework.boot.SpringApplication;
4+
import org.springframework.boot.autoconfigure.SpringBootApplication;
5+
6+
/**
7+
* Spring Boot 应用启动类
8+
*
9+
* Created by bysocket on 16/4/26.
10+
*/
11+
// Spring Boot 应用的标识
12+
@SpringBootApplication
13+
public class Application {
14+
15+
public static void main(String[] args) {
16+
// 程序启动入口
17+
// 启动嵌入式的 Tomcat 并初始化 Spring 环境及其各 Spring 组件
18+
SpringApplication.run(Application.class,args);
19+
}
20+
}
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
## 家乡属性 Dev
2-
home.province=ZheJiang
3-
home.city=WenLing
4-
home.desc=dev: I'm living in ${home.province} ${home.city}.
1+
## 家乡属性 Dev
2+
home.province=ZheJiang
3+
home.city=WenLing
4+
home.desc=dev: I'm living in ${home.province} ${home.city}.
5+
classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/
Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
1-
# Spring Profiles Active
2-
spring.profiles.active=dev
1+
# Spring Profiles Active
2+
spring.profiles.active=dev
3+
server.port=8866
4+
server.context-path=/demo
5+
server.tomcat.uri-encoding = UTF-8
6+
server.compression.enabled=true
7+
classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/
Loading
Loading
Loading
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)