fix: CGI-API-Aufruf in Produktionsumgebung per fetch statt location.href
- CGI-Endpunkte der CPL-Hardware werden jetzt per fetch im Hintergrund aufgerufen - Kein Tab-Wechsel oder Seitenreload mehr bei "Speichern" - Entwicklung nutzt weiterhin Next.js API-Routen - Nutzer erhält einheitliches Feedback per alert
This commit is contained in:
@@ -5,13 +5,12 @@
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"clean": "rimraf .next out",
|
||||
"build": "npm run clean && cross-env EXPORT_STATIC=true next build && next export",
|
||||
"build": "npm run clean && cross-env EXPORT_STATIC=true next build",
|
||||
"postbuild": "copy LICENSE_ICONIFY.txt out\\LICENSE_ICONIFY.txt",
|
||||
"start": "next start",
|
||||
"lint": "next lint",
|
||||
"test": "jest",
|
||||
"prepare": "husky install",
|
||||
"export": "cross-env EXPORT_STATIC=true next build && next export"
|
||||
"prepare": "husky install"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fontsource/roboto": "^5.1.0",
|
||||
|
||||
Reference in New Issue
Block a user