tailscale/client/web
Will Norris b89c113365 client/web: skip connectivity check on https
The manage client always listens on http (non-secure) port 5252.  If the
login client is loaded over https, then the connectivity check to `/ok`
will fail with a mixed-content error. Mixed-content enforcement is a
browser setting that we have no control over, so there's no way around
this.

In this case of the login client being loaded over https, we skip the
connectivity check entirely.  We will always render the sign-in button,
though we don't know for sure if the user has connectivity, so we
provide some additional help text in case they have trouble signing in.

Updates hassio-addons/addon-tailscale#314

Signed-off-by: Will Norris <will@tailscale.com>
2024-01-11 14:51:29 -08:00
..
build client/web: precompress assets 2023-12-07 20:57:31 -05:00
src client/web: skip connectivity check on https 2024-01-11 14:51:29 -08:00
assets.go client/web: only add cache header for assets 2023-12-12 15:51:22 -05:00
auth.go client/web: add initial types for using peer capabilities 2024-01-11 11:20:24 -05:00
index.html client/web: use CSP hash for inline javascript 2023-12-11 20:22:56 -08:00
package.json client/web: add confirmation dialogs 2023-12-08 19:31:21 -05:00
qnap.go client/web: add readonly/manage toggle 2023-11-10 15:01:34 -05:00
styles.json client/web: adjust colors and some UI margins 2023-12-01 15:41:57 -05:00
synology.go client/web: add readonly/manage toggle 2023-11-10 15:01:34 -05:00
tailwind.config.js client/web: adjust colors and some UI margins 2023-12-01 15:41:57 -05:00
tsconfig.json client/web: add debug mode for web client ui updates 2023-09-28 15:45:33 -04:00
vite.config.ts client/web: fix hotreload proxy 2023-11-06 16:31:30 -05:00
web_test.go client/web: add initial types for using peer capabilities 2024-01-11 11:20:24 -05:00
web.go client/web: add initial types for using peer capabilities 2024-01-11 11:20:24 -05:00
yarn.lock client/web: add confirmation dialogs 2023-12-08 19:31:21 -05:00