mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 20:51:38 +08:00
[v2, docs] Add experimental badge for assets handler and fix type definitions (#1328)
This commit is contained in:
parent
6d09a45a30
commit
cb2de2ad30
@ -218,7 +218,7 @@ Indicates that the window should stay above other windows when losing focus.
|
||||
|
||||
Name: Assets
|
||||
|
||||
Type: \*embed.FS
|
||||
Type: embed.FS
|
||||
|
||||
The frontend assets to be used by the application. Requires an `index.html` file.
|
||||
|
||||
@ -226,7 +226,9 @@ The frontend assets to be used by the application. Requires an `index.html` file
|
||||
|
||||
Name: AssetsHandler
|
||||
|
||||
Type: \*http.Handler
|
||||
Type: http.Handler
|
||||
|
||||

|
||||
|
||||
The assets handler is a generic `http.Handler` which will be called for any non GET request on the assets server
|
||||
and for GET requests which can not be served from the `assets` because the file is not found.
|
||||
|
Loading…
Reference in New Issue
Block a user