I'm using the spreadsheet demo example, I took the code and copy in my custom app and also move the content and script folder.
Everything works find except for the exportation properties, they redirect me to
http://localhost:18852/api/Spreadsheet/ExcelExport excelUrl: window.baseurl + "api/Spreadsheet/ExcelExport",
csvUrl: window.baseurl + "api/Spreadsheet/CsvExport",
pdfUrl: window.baseurl + "api/Spreadsheet/PdfExport"
How's the correct way to take the functionality and use it in a custom app?