Skip to content

Commit

Permalink
fix file sharing view_file URL
Browse files Browse the repository at this point in the history
  • Loading branch information
billyb2 committed Oct 13, 2024
1 parent 89bdbcc commit 6f8e37d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func FilePage(ctx context.Context, fileMeta *bfsp.FileMetadata, w fyne.Window) f
}

baseURL := config.BigCentralBaseURL()
url := fmt.Sprintf("%s/files/view_file/#z:%s", baseURL, viewInfoStr)
url := fmt.Sprintf("%s/files/view_file#z:%s", baseURL, viewInfoStr)

w.Clipboard().SetContent(url)

Expand Down

0 comments on commit 6f8e37d

Please sign in to comment.