mirror of
https://github.com/owncast/owncast.git
synced 2024-11-22 04:40:37 +03:00
Remove htmlcomment as it gets stripped in build time
This commit is contained in:
parent
bd9905971c
commit
903cc41d58
2 changed files with 0 additions and 7 deletions
|
@ -1,4 +0,0 @@
|
|||
/* eslint-disable react/no-danger */
|
||||
export const HtmlComment = ({ text }) => (
|
||||
<span style={{ display: 'none' }} dangerouslySetInnerHTML={{ __html: `\n\n<!-- ${text} -->` }} />
|
||||
);
|
|
@ -2,7 +2,6 @@
|
|||
import { Html, Head, Main, NextScript } from 'next/document';
|
||||
import { readFileSync } from 'fs';
|
||||
import { join } from 'path';
|
||||
import { HtmlComment } from '../components/common/HtmlComment/HtmlComment';
|
||||
|
||||
class InlineStylesHead extends Head {
|
||||
getCssLinks: Head['getCssLinks'] = ({ allFiles }) => {
|
||||
|
@ -30,8 +29,6 @@ export default function Document() {
|
|||
<body>
|
||||
<Main />
|
||||
<NextScript />
|
||||
{'\n\n'}
|
||||
<HtmlComment text="If you're reading this we'd love your help with Owncast! Visit https://owncast.online/help to see how you can contribute to make independent, open source live streaming better with your help." />
|
||||
</body>
|
||||
</Html>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue