Remove the app-update cookie from the response and add the X-AppUpdate version header to the request.
Update the k8s ingress manifest accordingly to use the proxy-set-header command for setting the header.
Update the k8s ingress rules to set and increase the proxy-read-timeout and the proxy-send-timeout ngnix websocket settings from default 60s to 86400s to keep the PUSH connection open for longer time. This prevents the ngnix from closing the connection after 60s and the flow client doesn't need to reconnect each time.
Update the version-notifier.ts to use the upgraded lit imports
Description
app-update
cookie from the response and add theX-AppUpdate
version header to the request.proxy-set-header
command for setting the header.proxy-read-timeout
and theproxy-send-timeout
ngnix websocket settings from default 60s to 86400s to keep the PUSH connection open for longer time. This prevents the ngnix from closing the connection after 60s and the flow client doesn't need to reconnect each time.Fixes #51 and #58
Type of change