mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 18:07:01 +00:00
DirOptions.PushTargets: add example for https://github.com/kataras/iris/issues/1562
Former-commit-id: 940f07fdb1184266dc315441fb91afa5754092fa
This commit is contained in:
@@ -12,7 +12,7 @@ var opts = iris.DirOptions{
|
||||
// E.g. "/" (which serves the `IndexName` if not empty).
|
||||
//
|
||||
// Note: Requires running server under TLS,
|
||||
// that's why we use ListenAndServeTLS below.
|
||||
// that's why we use `iris.TLS` below.
|
||||
PushTargets: map[string][]string{
|
||||
"/": {
|
||||
"/public/favicon.ico",
|
||||
|
||||
Reference in New Issue
Block a user