Skip to content

Commit

Permalink
fix: jssdk support
Browse files Browse the repository at this point in the history
  • Loading branch information
withchao committed Oct 12, 2024
1 parent 8ea2cf8 commit 48b7b15
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions cmd/openim-api/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,12 @@
package main

import (
_ "net/http/pprof"
"os"

"github.com/openimsdk/open-im-server/v3/pkg/common/cmd"
"github.com/openimsdk/tools/system/program"
_ "net/http/pprof"
)

func main() {
if len(os.Args) == 1 {
os.Args = []string{os.Args[0], "-i", "0", "-c", "/Users/chao/Desktop/withchao/open-im-server/config"}
}
if err := cmd.NewApiCmd().Exec(); err != nil {
program.ExitWithError(err)
}
Expand Down

0 comments on commit 48b7b15

Please sign in to comment.