sensorDigital, grafik Fest, drawPunkt eingefügt
This commit is contained in:
1 parent
0de185c014
commit
30ad6d0e47
106 files changed
+1371
-317
No files matched your search
@@ -0,0 +1,8 @@
|
||||
export async function GET() {
|
||||
try {
|
||||
const response = await fetch('http://localhost:3000/rk2/sensoren-analog/export', { cache: 'no-store' });
|
||||
if (!response.ok) return new Response('Sensoren-Export fehlgeschlagen', { status: 502 });
|
||||
return new Response(response.body, { headers: { 'Content-Type': 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
||||
'Content-Disposition': 'attachment; filename="Sensoren_Analog.xlsx"', 'Cache-Control': 'no-store' } });
|
||||
} catch { return new Response('Keine Verbindung zum Backend', { status: 502 }); }
|
||||
}
|
||||
Reference in new issue
Block a user