Merge pull request #1391 from wailsapp/bugfix/typo

bugfix: correct typo
This commit is contained in:
Lea Anthony 2022-05-11 13:09:23 +10:00 committed by GitHub
commit 4d5f31ab84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -34,7 +34,7 @@ type assetHandler struct {
retryMissingFiles bool
}
func NewAsssetHandler(ctx context.Context, options *options.App) (http.Handler, error) {
func NewAssetHandler(ctx context.Context, options *options.App) (http.Handler, error) {
vfs := options.Assets
if vfs != nil {
if _, err := vfs.Open("."); err != nil {

View file

@ -32,7 +32,7 @@ type AssetServer struct {
}
func NewAssetServer(ctx context.Context, options *options.App, bindingsJSON string) (*AssetServer, error) {
handler, err := NewAsssetHandler(ctx, options)
handler, err := NewAssetHandler(ctx, options)
if err != nil {
return nil, err
}

View file

@ -73,7 +73,7 @@ func (d *DevWebServer) Run(ctx context.Context) error {
})
var err error
assetHandler, err = assetserver.NewAsssetHandler(ctx, d.appoptions)
assetHandler, err = assetserver.NewAssetHandler(ctx, d.appoptions)
if err != nil {
log.Fatal(err)
}