PrivateGER
3 years ago
3 changed files with 19 additions and 0 deletions
@ -0,0 +1,2 @@ |
|||||
|
*.min.js -text -diff -delta |
||||
|
*.min.css -text -diff -delta |
@ -0,0 +1,13 @@ |
|||||
|
package PageHandlers |
||||
|
|
||||
|
import ( |
||||
|
"embed" |
||||
|
"net/http" |
||||
|
) |
||||
|
|
||||
|
//go:embed static
|
||||
|
var staticEmbedFS embed.FS |
||||
|
|
||||
|
func Static(writer http.ResponseWriter, request *http.Request) { |
||||
|
http.FileServer(http.FS(staticEmbedFS)) |
||||
|
} |
Loading…
Reference in new issue