1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-19 19:07:06 +00:00
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-08-21 20:48:41 +03:00
parent 95c3c2a951
commit 27686d7c1c
3 changed files with 3 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ func newApp() *iris.Application {
/*
Or if you need to cache them inside the memory (requires the assets folder
to be located near the executable program):
app.HandleDir("/static", http.Dir("./assets"), iris.DirOptions{
app.HandleDir("/static", iris.Dir("./assets"), iris.DirOptions{
IndexName: "index.html",
Cache: iris.DirCacheOptions{
Enable: true,