Added the Static Resource Examples (#8786)

This commit is contained in:
Mona Mohamadinia
2020-03-30 21:44:37 +04:30
committed by GitHub
parent c02bf9d15f
commit acc81fce15
2 changed files with 14 additions and 1 deletions

View File

@@ -1 +1,4 @@
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

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
</head>
<body>
Hello World!
</body>
</html>