Skip to content

Commit

Permalink
Ensure there is no duplicate trailing slash in url, remove server/dist
Browse files Browse the repository at this point in the history
  • Loading branch information
seansackowitz committed May 6, 2019
1 parent d30d99d commit e2c78d9
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Binary file removed server/dist/plugin-darwin-amd64
Binary file not shown.
Binary file removed server/dist/plugin-linux-amd64
Binary file not shown.
1 change: 1 addition & 0 deletions server/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit e2c78d9

Please sign in to comment.