Why does the page refresh automatically using the jquery ajax get method?

$(document).on("click","-sharpexport",() => {
        $.get("/workspace/export");
    });

router.get("/export",function(req, res, next){

    var filepath = "/workspace/export/export.mp4"; 

   
    res.download(filepath, err => {
        console.log(err);
        res.sendStatus(404);
    })
});
Menu