move assets around
move assets around
This commit is contained in:
parent
50117ff78d
commit
8f8f6fcd8d
7 changed files with 11 additions and 6 deletions
|
|
@ -44,14 +44,18 @@ pub fn SendInertiaResponse(endpoint: anytype, r: zap.Request, arena: Allocator,
|
|||
arena,
|
||||
@embedFile("root.html"),
|
||||
.{
|
||||
(if (show_unbuilt_assets)
|
||||
"/src/favicon.svg"
|
||||
else
|
||||
"/favicon.svg"),
|
||||
(if (show_unbuilt_assets)
|
||||
"/src/main.ts"
|
||||
else
|
||||
"/build/main.js"),
|
||||
"/main.js"),
|
||||
(if (show_unbuilt_assets)
|
||||
"/src/style.css"
|
||||
else
|
||||
"/build/style.css"),
|
||||
"/style.css"),
|
||||
HtmlEncodeFormatter{ .input = inertia_json },
|
||||
},
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue