From cdb6eed78fa74d70f00871982abbada624fc7e25 Mon Sep 17 00:00:00 2001 From: "ug.rp" Date: Fri, 26 Apr 2024 09:10:36 +0200 Subject: [PATCH] try new action (from r4.com) --- CNAME | 1 - index.js | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 CNAME diff --git a/CNAME b/CNAME deleted file mode 100644 index e1343d2..0000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -4000.radio diff --git a/index.js b/index.js index 2e2a446..91196b8 100644 --- a/index.js +++ b/index.js @@ -48,7 +48,8 @@ export default class R4Radio extends HTMLElement { this.sdk = sdk const { pathname, subdomain } = this.slugInfo; if (!subdomain && pathname) { - this.redirectToSubdomain(pathname); + /* skip redirect because we don't know where to host server for wildcard subdomain */ + /* this.redirectToSubdomain(pathname); */ } if (!this.channel) { return this.renderHome();