()
| 80 | } |
| 81 | |
| 82 | func (f *Frontend) Api() []pm3.Api { |
| 83 | return []pm3.Api{ |
| 84 | pm3.CreateApiSimple(http.MethodGet, "/favicon.ico", func(ginCtx *gin.Context) { |
| 85 | ginCtx.Data(http.StatusOK, iconType, iconContent) |
| 86 | }), |
| 87 | pm3.CreateApiSimple(http.MethodGet, "/vite.svg", func(ginCtx *gin.Context) { |
| 88 | ginCtx.Data(http.StatusOK, viteContentType, viteContent) |
| 89 | }), |
| 90 | } |
| 91 | } |
| 92 | func (f *Frontend) Files() []pm3.FrontendFiles { |
| 93 | return []pm3.FrontendFiles{ |
| 94 |
nothing calls this directly
no outgoing calls
no test coverage detected