Skip to content

Commit

Permalink
👋update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zkep committed Mar 3, 2025
1 parent 9b3fa0f commit 33bfb6f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/api/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ func (app *App) Run(f *Flags) error {
}

func (app *App) newHttpServer(f *config.Config) error {
if err := app.docterFfmpeg(); err != nil {
if err := app.doctorFfmpeg(); err != nil {
return err
}
if err := app.docterMkdocs(); err != nil {
if err := app.doctorMkdocs(); err != nil {
return err
}
addr := fmt.Sprintf("%s:%d", f.Server.HTTPAddr, f.Server.HTTPPort)
Expand All @@ -114,7 +114,7 @@ func (app *App) newHttpServer(f *config.Config) error {
return nil
}

func (app *App) docterFfmpeg() error {
func (app *App) doctorFfmpeg() error {
if _, err := exec.LookPath("ffmpeg"); err != nil {
fmt.Println("Please install ffmpeg: ")
fmt.Println("Ffmpeg will be used for video merging")
Expand All @@ -126,7 +126,7 @@ func (app *App) docterFfmpeg() error {
return nil
}

func (app *App) docterMkdocs() error {
func (app *App) doctorMkdocs() error {
if _, err := exec.LookPath("mkdocs"); err != nil {
fmt.Println("Please install mkdocs: ")
fmt.Println("pip install mkdocs-material")
Expand Down

0 comments on commit 33bfb6f

Please sign in to comment.