mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 22:55:48 +01:00
[v2, docs] Add experimental badge for assets handler and fix type definitions (#1328)
This commit is contained in:
parent
6d09a45a30
commit
cb2de2ad30
1 changed files with 4 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue