Skip to content

Commit c3ba0a6

Browse files
committed
v0.2.2: fix Live TV 'refused to connect' — cache-bust the player iframe
- the modal iframe was reusing a browser-cached /api/player response from before the X-Frame-Options fix; append a _ cache-buster so every open is fresh. (Server also now sends Cache-Control: no-store for /api/player via nginx.)
1 parent a082190 commit c3ba0a6

25 files changed

Lines changed: 28 additions & 25 deletions

File tree

apps/desktop/extensions/ai-sidebar/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"manifest_version": 3,
33
"name": "TronBrowser",
4-
"version": "0.2.1",
4+
"version": "0.2.2",
55
"description": "TronBrowser — privacy-first, AI-native. Branded new tab, private search, CoinPay login, and a bring-your-own-keys AI sidebar.",
66
"icons": {
77
"16": "icons/icon-16.png",

apps/desktop/extensions/ai-sidebar/newtab.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,10 @@ async function renderBtr() {
281281
function openPlayer(url) {
282282
const sep = url.includes('?') ? '&' : '?';
283283
const tk = btrTokenCache ? `&token=${encodeURIComponent(btrTokenCache)}` : '';
284-
el('player-frame').src = `${url}${sep}theme=dark&bg=${encodeURIComponent('#05070d')}&accent=${encodeURIComponent('#34e7ff')}${tk}`;
284+
// _ cache-buster: never reuse a previously-cached response (older builds got an
285+
// X-Frame-Options header that the browser may still be holding).
286+
el('player-frame').src =
287+
`${url}${sep}theme=dark&bg=${encodeURIComponent('#05070d')}&accent=${encodeURIComponent('#34e7ff')}${tk}&_=${Date.now()}`;
285288
el('player-modal').hidden = false;
286289
}
287290
function closePlayer() { el('player-modal').hidden = true; el('player-frame').src = 'about:blank'; }

apps/desktop/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tronbrowser/desktop",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"private": true,
55
"description": "Desktop shell for the TronBrowser Chromium fork",
66
"type": "module",

apps/docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tronbrowser/docs",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"private": true,
55
"description": "Documentation site",
66
"type": "module",

apps/mobile/app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"slug": "tronbrowserdev",
55
"owner": "profullstack",
66
"scheme": "tronbrowser",
7-
"version": "0.2.1",
7+
"version": "0.2.2",
88
"orientation": "portrait",
99
"userInterfaceStyle": "dark",
1010
"platforms": [

apps/mobile/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tronbrowser/mobile",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"private": true,
55
"description": "TronBrowser mobile (Expo / React Native) — Phase 2",
66
"type": "module",

apps/web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tronbrowser/web",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"private": true,
55
"description": "TronBrowser marketing site + web dashboard",
66
"type": "module",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tronbrowser",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"private": true,
55
"description": "TronBrowser.dev — open-source, privacy-first, AI-native browser",
66
"packageManager": "pnpm@9.12.0",

packages/agent-runtime/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tronbrowser/agent-runtime",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"private": true,
55
"description": "Agent runtime: planner, executor, validator, memory, tools",
66
"type": "module",

packages/ai-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tronbrowser/ai-core",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"private": true,
55
"description": "AI orchestration core (provider routing, execution modes)",
66
"type": "module",

0 commit comments

Comments
 (0)