Skip to content

Commit

Permalink
[templates] Update templates to latest assetserver options
Browse files Browse the repository at this point in the history
  • Loading branch information
stffabi committed Feb 16, 2024
1 parent 723dd97 commit 1956f95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion v3/internal/templates/_base/default/main.go.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func main() {
Name: "{{.ProjectName}}",
Description: "A demo of using raw HTML & CSS",
Assets: application.AssetOptions{
FS: assets,
Handler: application.AssetFileServerFS(assets),
},
Mac: application.MacOptions{
ApplicationShouldTerminateAfterLastWindowClosed: true,
Expand Down
2 changes: 1 addition & 1 deletion v3/internal/templates/_common/main.go.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func main() {
&GreetService{},
},
Assets: application.AssetOptions{
FS: assets,
Handler: application.AssetFileServerFS(assets),
},
Mac: application.MacOptions{
ApplicationShouldTerminateAfterLastWindowClosed: true,
Expand Down

0 comments on commit 1956f95

Please sign in to comment.