Embed webapp into the binary with fs-embed, drop --static-dir
ottyl was requiring webapp/dist to be shipped alongside the binary and served via ServeDir/ServeFile pointed at a --static-dir CLI arg. Embed the built webapp at compile time instead, so ottyl is a single self-contained executable with no runtime static directory dependency. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XFUNZwCvz3kcod3352ZR2o
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
1d1b0eee01
commit
7694dcf120
Generated
+1
@@ -650,6 +650,7 @@ dependencies = [
|
||||
"fs-embed",
|
||||
"http-body-util",
|
||||
"humantime",
|
||||
"include_dir",
|
||||
"pest",
|
||||
"pest_derive",
|
||||
"regex",
|
||||
|
||||
Reference in New Issue
Block a user