Restore default project to BWSamern-Ohne
Deploy Standortplaner / deploy (push) Successful in 16s
Details
Deploy Standortplaner / deploy (push) Successful in 16s
Details
This commit is contained in:
parent
63ba610ca5
commit
ba6ed0f058
2
app.js
2
app.js
|
|
@ -19,7 +19,7 @@ document.addEventListener('DOMContentLoaded', async () => {
|
|||
|
||||
const getProjektId = () => {
|
||||
const urlParams = new URLSearchParams(window.location.search);
|
||||
return urlParams.get('project') || urlParams.get('projekt') || urlParams.get('projekt_id') || "test";
|
||||
return urlParams.get('project') || urlParams.get('projekt') || urlParams.get('projekt_id') || "BWSamern-Ohne";
|
||||
};
|
||||
|
||||
const STATUS_MAP = {
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ app.get('/api/logs', (req, res) => {
|
|||
// API to save turbines
|
||||
app.post('/api/wea', async (req, res) => {
|
||||
const { projekt_id, turbines } = req.body;
|
||||
const targetProject = projekt_id || 'test';
|
||||
const targetProject = projekt_id || 'BWSamern-Ohne';
|
||||
const schema = process.env.DB_SCHEMA || 'geodaten';
|
||||
|
||||
log(`Empfange Save-Request für Projekt: ${targetProject} (${turbines?.length || 0} WEAs)`);
|
||||
|
|
|
|||
Loading…
Reference in New Issue