This commit is contained in:
gotoeasy 2023-10-12 12:53:39 +08:00
parent 44aa453cf5
commit 3e3532d01a

View File

@ -23,6 +23,7 @@ func Run() {
gweb.RegisterController(method.GET, "/**/*.html", html.StaticFileController)
gweb.RegisterController(method.GET, "/**/*.css", html.StaticFileController)
gweb.RegisterController(method.GET, "/**/*.js", html.StaticFileController)
gweb.RegisterController(method.GET, "/**/*.txt", html.StaticFileController)
gweb.RegisterController(method.GET, "/**/*.ico", html.StaticFileController)
gweb.RegisterController(method.GET, "/**/*.png", html.StaticFileController)
gweb.RegisterController(method.GET, "/**/*.jpg", html.StaticFileController)