diff --git a/.gitignore b/.gitignore index c5d1ccdb..e92bb61c 100644 --- a/.gitignore +++ b/.gitignore @@ -15,13 +15,13 @@ # Build /coverage.txt -/plugin.exe /mattermost-jitsi-plugin*.tar.gz /dist server/vendor node_modules .npminstall webapp/dist +server/dist # Mac *.swp diff --git a/README.md b/README.md index fc9761b5..a552bae2 100644 --- a/README.md +++ b/README.md @@ -10,9 +10,7 @@ Go to the [releases page of this Github repository](https://github.com/seansacko This plugin contains both a server and web app portion. -Use `make dist` to build distributions of the plugin that you can upload to a Mattermost server for testing. - -Use `make check-style` to check the style for the whole plugin. +Use `make` to check the quality of your code, as well as build distributions of the plugin that you can upload to a Mattermost server for testing. ### Server diff --git a/server/dist/plugin-darwin-amd64 b/server/dist/plugin-darwin-amd64 deleted file mode 100755 index 6614f736..00000000 Binary files a/server/dist/plugin-darwin-amd64 and /dev/null differ diff --git a/server/dist/plugin-linux-amd64 b/server/dist/plugin-linux-amd64 deleted file mode 100755 index 81823a07..00000000 Binary files a/server/dist/plugin-linux-amd64 and /dev/null differ diff --git a/server/plugin.go b/server/plugin.go index 8df657b3..6497a908 100644 --- a/server/plugin.go +++ b/server/plugin.go @@ -98,6 +98,7 @@ func (p *Plugin) handleStartMeeting(w http.ResponseWriter, r *http.Request) { meetingID = generateRoomWithoutSeparator() } jitsiURL := strings.TrimSpace(p.getConfiguration().JitsiURL) + jitsiURL = strings.TrimRight(jitsiURL, "/") meetingURL := jitsiURL + "/" + meetingID post := &model.Post{