fix:web: drop non-working --file-url option for now [#2139]
This commit is contained in:
parent
13ebf18d24
commit
60f7896dd5
@ -76,11 +76,12 @@ webflags =
|
|||||||
(\s opts -> Right $ setopt "base-url" s opts)
|
(\s opts -> Right $ setopt "base-url" s opts)
|
||||||
"BASEURL"
|
"BASEURL"
|
||||||
"set the base url (default: http://IPADDR:PORT)"
|
"set the base url (default: http://IPADDR:PORT)"
|
||||||
, flagReq
|
-- XXX #2139
|
||||||
["file-url"]
|
-- , flagReq
|
||||||
(\s opts -> Right $ setopt "file-url" s opts)
|
-- ["file-url"]
|
||||||
"FILEURL"
|
-- (\s opts -> Right $ setopt "file-url" s opts)
|
||||||
"set a different base url for static files (default: `BASEURL/static/`)"
|
-- "FILEURL"
|
||||||
|
-- "set a different base url for static files (default: `BASEURL/static/`)"
|
||||||
, flagNone
|
, flagNone
|
||||||
["test"]
|
["test"]
|
||||||
(setboolopt "test")
|
(setboolopt "test")
|
||||||
|
|||||||
@ -111,6 +111,7 @@ The default is `http://HOST:PORT/` using the server's configured host address an
|
|||||||
(or `http://HOST` if PORT is 80).
|
(or `http://HOST` if PORT is 80).
|
||||||
Note this affects url generation but not route parsing.
|
Note this affects url generation but not route parsing.
|
||||||
|
|
||||||
|
<!-- #2139
|
||||||
`--file-url=URL`
|
`--file-url=URL`
|
||||||
: set a different base url for static files (default: `BASEURL/static/`)
|
: set a different base url for static files (default: `BASEURL/static/`)
|
||||||
|
|
||||||
@ -118,6 +119,7 @@ hledger-web normally serves static files itself,
|
|||||||
but if you wanted to serve them from another server,
|
but if you wanted to serve them from another server,
|
||||||
eg for better caching or cookie-less serving on high performance websites,
|
eg for better caching or cookie-less serving on high performance websites,
|
||||||
you can customise their urls with this.
|
you can customise their urls with this.
|
||||||
|
-->
|
||||||
|
|
||||||
`--test`
|
`--test`
|
||||||
: run hledger-web's tests and exit. hspec test runner args may follow a --, eg: hledger-web --test -- --help
|
: run hledger-web's tests and exit. hspec test runner args may follow a --, eg: hledger-web --test -- --help
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user