Commit Graph

8 Commits

Author SHA1 Message Date
zefie
9d33e86937 fix diskset_file error 2022-10-02 11:26:46 -04:00
zefie
269d237479 experimental webtv viewer patcher on pc_service 2022-10-02 10:33:27 -04:00
zefie
c403c589c1 experimental webtv viewer patcher on pc_service 2022-10-02 08:25:02 -04:00
zefie
27e84ab3ca add favicon.ico to pc services 2022-10-02 01:49:55 -04:00
zefie
bac031bd4e fix http_pc pc services 2022-10-01 23:29:59 -04:00
zefie
fdd2f16f3b breaking change: doErrorPage moved to wtvshared.doErrorPage
- but I fixed flashrom error handling..
- added a passthrough for old scripts
2021-08-16 08:12:27 -04:00
zefie
1967c076a9 add protection against requesting direct service files 2021-08-15 18:51:48 -04:00
zefie
4a2dc1680d add catchall system & http pc server
- define a catchall name to run globally or per service
- catchall must be javascript, but not necessarily a .js file
- catchall can request async mode
- catchall will catch any non-existing requests under its directory
- see wtv-flashrom:/content/content-serve.js as an example, which will catch wtv-flashrom:/content/ URLs.

- http pc: sends HTTP/1.0 to PC clients
- can be disabled with `pc_server_hidden_service_enabled`: false
- can change servicevault path by changing string of pc_server_hidden_service
- get.js in default PC service vault to get any WTV Url on the service
2021-08-09 17:38:34 -04:00