update
This commit is contained in:
parent
f3efc6dc93
commit
ef31dd08ee
1 changed files with 5 additions and 2 deletions
|
@ -31,12 +31,15 @@ The webapp is a web server that displays a shiny interface.
|
||||||
|
|
||||||
## implementation
|
## implementation
|
||||||
|
|
||||||
|
* Include jquery into the webapp, preferably minimised at build time.
|
||||||
|
Currently the webapp needs an internet connection to load jquery, which
|
||||||
|
is not ideal.
|
||||||
* use `addStaticContent` to make /favicon.ico work. Return `Right (route, query)`
|
* use `addStaticContent` to make /favicon.ico work. Return `Right (route, query)`
|
||||||
and I think the route can be `favicon_ico`.
|
and I think the route can be `favicon_ico`. (Tried this; couldn't seem
|
||||||
|
to make it work.)
|
||||||
* perhaps define a custom `errorHandler`, which could avoid the potential
|
* perhaps define a custom `errorHandler`, which could avoid the potential
|
||||||
of leaking auth tokens on error pages
|
of leaking auth tokens on error pages
|
||||||
* possibly lose the ugly auth= token past the first page,
|
* possibly lose the ugly auth= token past the first page,
|
||||||
and use a client-side session. It could be encrypted using the token
|
and use a client-side session. It could be encrypted using the token
|
||||||
as the `encryptKey`. Note: Would need to set the session duration
|
as the `encryptKey`. Note: Would need to set the session duration
|
||||||
to infinite (how?)
|
to infinite (how?)
|
||||||
* look up "server-sent events" sent using `sendWaiResponse`
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue