Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
Some missing renames when standardizing on the single name property
Gabe Kangas50b7425a0335
diff --git a/web/pages/components/config/constants.tsx b/web/pages/components/config/constants.tsxindex 1701f58bc3..5d32a61aff 100644--- a/web/pages/components/config/constants.tsx+++ b/web/pages/components/config/constants.tsx@@ -28,7 +28,7 @@ export const API_NSFW_SWITCH = '/nsfw';export const API_RTMP_PORT = '/rtmpserverport';export const API_S3_INFO = '/s3';export const API_SERVER_SUMMARY = '/serversummary';-export const API_SERVER_TITLE = '/servertitle';+export const API_SERVER_NAME = '/name';export const API_SOCIAL_HANDLES = '/socialhandles';export const API_STREAM_KEY = '/key';export const API_STREAM_TITLE = '/streamtitle';@@ -54,8 +54,8 @@ export async function postConfigUpdateToAPI(args: ApiPostArgs) {}// Some default props to help build out a TextField-export const TEXTFIELD_PROPS_SERVER_TITLE = {- apiPath: API_SERVER_TITLE,+export const TEXTFIELD_PROPS_SERVER_NAME = {+ apiPath: API_SERVER_NAME,maxLength: TEXT_MAXLENGTH,placeholder: 'Owncast site name', // like "gothland"label: 'Name',diff --git a/web/pages/components/config/edit-instance-details.tsx b/web/pages/components/config/edit-instance-details.tsxindex d928318e58..7c5d327088 100644--- a/web/pages/components/config/edit-instance-details.tsx+++ b/web/pages/components/config/edit-instance-details.tsx@@ -8,7 +8,7 @@ import { ServerStatusContext } from '../../../utils/server-status-context';import {postConfigUpdateToAPI,TEXTFIELD_PROPS_INSTANCE_URL,- TEXTFIELD_PROPS_SERVER_TITLE,+ TEXTFIELD_PROPS_SERVER_NAME,TEXTFIELD_PROPS_SERVER_SUMMARY,TEXTFIELD_PROPS_LOGO,API_YP_SWITCH,@@ -67,10 +67,10 @@ export default function EditInstanceDetails() {/><TextFieldWithSubmit- fieldName="title"- {...TEXTFIELD_PROPS_SERVER_TITLE}- value={formDataValues.title}- initialValue={instanceDetails.title}+ fieldName="name"+ {...TEXTFIELD_PROPS_SERVER_NAME}+ value={formDataValues.name}+ initialValue={instanceDetails.name}onChange={handleFieldChange}/><TextFieldWithSubmit