Server static files.
This commit is contained in:
parent
929df87147
commit
34f04d3380
1 changed files with 2 additions and 0 deletions
2
main.go
2
main.go
|
@ -17,6 +17,8 @@ func main() {
|
||||||
|
|
||||||
e.Renderer = t
|
e.Renderer = t
|
||||||
|
|
||||||
|
e.Static("/", "static")
|
||||||
|
|
||||||
e.GET("/", Index)
|
e.GET("/", Index)
|
||||||
|
|
||||||
e.Logger.Fatal(e.Start(":1323"))
|
e.Logger.Fatal(e.Start(":1323"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue