Added the Static Resource Examples (#8786)
This commit is contained in:
parent
e2cdccff28
commit
1734250d97
|
@ -1 +1,4 @@
|
||||||
spring.main.allow-bean-definition-overriding=true
|
spring.main.allow-bean-definition-overriding=true
|
||||||
|
spring.mvc.static-path-pattern=/content/**
|
||||||
|
spring.webflux.static-path-pattern=/content/**
|
||||||
|
spring.resources.static-locations=classpath:/files/,classpath:/static-files
|
|
@ -0,0 +1,10 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>Hello World!</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
Hello World!
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in New Issue