mirror of
https://github.com/RoastSlav/quickdrop.git
synced 2025-12-30 19:20:14 -06:00
removing the port from the generated links
This commit is contained in:
@@ -18,7 +18,7 @@ public class FileUtils {
|
||||
}
|
||||
|
||||
public static String getDownloadLink(HttpServletRequest request, FileEntity fileEntity) {
|
||||
return request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + "/file/" + fileEntity.uuid;
|
||||
return request.getScheme() + "://" + request.getServerName() + "/file/" + fileEntity.uuid;
|
||||
}
|
||||
|
||||
public static void populateModelAttributes(FileEntity fileEntity, Model model, HttpServletRequest request) {
|
||||
|
||||
Reference in New Issue
Block a user