Spaces:
Runtime error
Runtime error
Commit
•
1efc350
1
Parent(s):
8127ca8
ready for new deployment
Browse files- public/index.html +4 -3
public/index.html
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
<body
|
9 |
x-data="app()" x-init="init()"
|
10 |
class="fixed inset-0 bg-[rgb(0,0,0)] flex flex-col w-full items-center justify-start">
|
11 |
-
<div x-show="!enabled">
|
12 |
|
13 |
<div
|
14 |
x-show="enabled && showToolbar"
|
@@ -144,8 +144,9 @@ function app() {
|
|
144 |
const urlParams = new URLSearchParams(window.location.search)
|
145 |
|
146 |
const requestedChannelId = `${urlParams.get('channel') || ''}`
|
147 |
-
|
148 |
-
this.enabled =
|
|
|
149 |
|
150 |
if (!this.enabled) {
|
151 |
return
|
|
|
8 |
<body
|
9 |
x-data="app()" x-init="init()"
|
10 |
class="fixed inset-0 bg-[rgb(0,0,0)] flex flex-col w-full items-center justify-start">
|
11 |
+
<div x-show="!enabled">Loading WebTV..</div>
|
12 |
|
13 |
<div
|
14 |
x-show="enabled && showToolbar"
|
|
|
144 |
const urlParams = new URLSearchParams(window.location.search)
|
145 |
|
146 |
const requestedChannelId = `${urlParams.get('channel') || ''}`
|
147 |
+
|
148 |
+
this.enabled = true
|
149 |
+
// this.enabled = `${urlParams.get('beta') || 'false'}` === 'true'
|
150 |
|
151 |
if (!this.enabled) {
|
152 |
return
|