mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
Merge pull request #1391 from wailsapp/bugfix/typo
bugfix: correct typo
This commit is contained in:
commit
4d5f31ab84
3 changed files with 3 additions and 3 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue