mirror of
https://github.com/owncast/owncast.git
synced 2025-11-01 10:55:57 +08:00
add textarea field for custom css (#113)
* add textarea field for custom css * Prettified Code! Co-authored-by: gingervitis <gingervitis@users.noreply.github.com>
This commit is contained in:
@ -4,12 +4,13 @@ import React, { useState, useEffect } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
import { STATUS, fetchData, FETCH_INTERVAL, SERVER_CONFIG } from './apis';
|
||||
import { ConfigDetails, UpdateArgs, ExternalAction } from '../types/config-section';
|
||||
import { ConfigDetails, UpdateArgs } from '../types/config-section';
|
||||
import { DEFAULT_VARIANT_STATE } from './config-constants';
|
||||
|
||||
export const initialServerConfigState: ConfigDetails = {
|
||||
streamKey: '',
|
||||
instanceDetails: {
|
||||
customStyles: '',
|
||||
extraPageContent: '',
|
||||
logo: '',
|
||||
name: '',
|
||||
@ -17,9 +18,9 @@ export const initialServerConfigState: ConfigDetails = {
|
||||
socialHandles: [],
|
||||
streamTitle: '',
|
||||
summary: '',
|
||||
welcomeMessage: '',
|
||||
tags: [],
|
||||
title: '',
|
||||
welcomeMessage: '',
|
||||
},
|
||||
ffmpegPath: '',
|
||||
rtmpServerPort: '',
|
||||
|
||||
Reference in New Issue
Block a user