update: X-Trace-Id
This commit is contained in:
1 parent
116d5b13f8
commit
459e3d9c09
10 files changed
+60
-68
No files matched your search
@@ -33,7 +33,7 @@ func NewFront(ff *embed.FS, basePath string) nf.HandlerFunc {
|
||||
)
|
||||
|
||||
if bs, err = ff.ReadFile(basePath + path); err != nil {
|
||||
log.Debug(c, "embed read file [%s]%s err: %v", basePath, path, err)
|
||||
log.Debug(c.Context(), "embed read file [%s]%s err: %v", basePath, path, err)
|
||||
c.Set("Content-Type", "text/html")
|
||||
_, err = c.Write(indexBytes)
|
||||
return err
|
||||
|
||||
Reference in new issue
Block a user