diff --git a/controllers/index.go b/controllers/index.go
index b632df41d..18f44674d 100644
--- a/controllers/index.go
+++ b/controllers/index.go
@@ -51,6 +51,7 @@ func renderIndexHtml(w http.ResponseWriter, nonce string) {
Image string
StatusJSON string
ServerConfigJSON string
+ EmbedVideo string
Nonce string
}
@@ -71,13 +72,14 @@ func renderIndexHtml(w http.ResponseWriter, nonce string) {
content := serverSideContent{
Name: data.GetServerName(),
Summary: data.GetServerSummary(),
- RequestedURL: data.GetServerURL(),
+ RequestedURL: fmt.Sprintf("%s%s", data.GetServerURL(), "/"),
TagsString: strings.Join(data.GetServerMetadataTags(), ","),
- ThumbnailURL: "/thumbnail.jpg",
- Thumbnail: "/thumbnail.jpg",
- Image: "/logo/external",
+ ThumbnailURL: "thumbnail.jpg",
+ Thumbnail: "thumbnail.jpg",
+ Image: "logo/external",
StatusJSON: string(sb),
ServerConfigJSON: string(cb),
+ EmbedVideo: "embed/video",
Nonce: nonce,
}
diff --git a/web/components/layouts/Main/Main.tsx b/web/components/layouts/Main/Main.tsx
index a71bee8df..e8e296baf 100644
--- a/web/components/layouts/Main/Main.tsx
+++ b/web/components/layouts/Main/Main.tsx
@@ -123,8 +123,8 @@ export const Main: FC = () => {
-
-
+
+
@@ -135,7 +135,7 @@ export const Main: FC = () => {
-
+