Replaces redirect of /embed URLs to return content directly. (#1453)
- Removes relative imports from embedded player, chat. - Replaces `Redirect` calls with `ServeFile` in `embed.go`.
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>
|
||||
<link href="/js/web_modules/tailwindcss/dist/tailwind.min.css" rel="stylesheet" />
|
||||
<link href="./styles/chat.css" rel="stylesheet" />
|
||||
<link href="./styles/standalone-chat-readwrite.css" rel="stylesheet" />
|
||||
<link href="/styles/chat.css" rel="stylesheet" />
|
||||
<link href="/styles/standalone-chat-readwrite.css" rel="stylesheet" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@@ -17,7 +17,7 @@
|
||||
import htm from '/js/web_modules/htm.js';
|
||||
const html = htm.bind(h);
|
||||
|
||||
import StandaloneChat from './js/app-standalone-chat.js';
|
||||
import StandaloneChat from '/js/app-standalone-chat.js';
|
||||
render(
|
||||
html`<${StandaloneChat} />`, document.getElementById("messages-only")
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user