Expand description
Files compiled into the production binary.
Release builds embed next-rust.toml, public/, assets/ and client/
(see next-rust-build), so the server binary is the only file a
deployment needs. Development builds leave this empty and read from disk.
Structs§
- Embedded
- Everything a release binary carries with it.
- Embedded
File - One embedded file.
pathis relative to its directory and uses/.
Functions§
- find
- Find a file by URL path using the same rules as disk lookups: segments are
percent-decoded and
./.., hidden files and separators are rejected.