mirror of
https://github.com/owncast/owncast.git
synced 2024-11-24 21:59:43 +03:00
Remove references to config file. #1697
This commit is contained in:
parent
ade392e5db
commit
3f974ce7db
3 changed files with 3 additions and 3 deletions
|
@ -80,7 +80,7 @@ func IndexHandler(w http.ResponseWriter, r *http.Request) {
|
|||
http.ServeFile(w, r, path.Join(config.WebRoot, r.URL.Path))
|
||||
}
|
||||
|
||||
// Return a basic HTML page with server-rendered metadata from the config file
|
||||
// Return a basic HTML page with server-rendered metadata from the config
|
||||
// to give to Opengraph clients and web scrapers (bots, web crawlers, etc).
|
||||
func handleScraperMetadataPage(w http.ResponseWriter, r *http.Request) {
|
||||
tmpl, err := static.GetBotMetadataTemplate()
|
||||
|
|
|
@ -541,7 +541,7 @@ func GetVideoCodec() string {
|
|||
// VerifySettings will perform a sanity check for specific settings values.
|
||||
func VerifySettings() error {
|
||||
if GetStreamKey() == "" {
|
||||
return errors.New("no stream key set. Please set one in your config file")
|
||||
return errors.New("no stream key set. Please set one via the admin or command line arguments.")
|
||||
}
|
||||
|
||||
logoPath := GetLogoPath()
|
||||
|
|
|
@ -232,7 +232,7 @@ func ValidatedFfmpegPath(ffmpegPath string) string {
|
|||
cmd := exec.Command("which", "ffmpeg")
|
||||
out, err := cmd.CombinedOutput()
|
||||
if err != nil {
|
||||
log.Fatalln("Unable to determine path to ffmpeg. Please specify it in the config file.")
|
||||
log.Fatalln("Unable to determine path to ffmpeg. Please specify it in the admin or place a copy in the Owncast directory.")
|
||||
}
|
||||
|
||||
path := strings.TrimSpace(string(out))
|
||||
|
|
Loading…
Reference in a new issue