mirror of
https://github.com/jpros/tacticalrmm-web.git
synced 2026-02-12 15:20:21 +00:00
move frontend view out of the api app
This commit is contained in:
@@ -77,7 +77,7 @@ export default {
|
||||
downloadMesh() {
|
||||
const fileName = this.info.arch === "64" ? "meshagent.exe" : "meshagent-x86.exe";
|
||||
this.$axios
|
||||
.post(`/api/v1/${this.info.arch}/getmeshexe/`, {}, { responseType: "blob" })
|
||||
.post(`/agents/${this.info.arch}/getmeshexe/`, {}, { responseType: "blob" })
|
||||
.then(({ data }) => {
|
||||
const blob = new Blob([data], { type: "application/vnd.microsoft.portable-executable" });
|
||||
let link = document.createElement("a");
|
||||
|
||||
Reference in New Issue
Block a user