Refactor webhook URL configuration to use environment variable

- Updated questionnaire.js to use a local API endpoint as a fallback for the webhook URL.
- Modified server.js to retrieve the webhook URL from an environment variable.
- Added .env.example file to provide a template for environment configuration, including the optional webhook URL.
- Added an empty responses.json for local storage
This commit is contained in:
2025-09-07 22:04:51 +03:00
parent f4f5c54596
commit d0b14ba664
6 changed files with 495 additions and 169 deletions

1
data/responses.json Normal file
View File

@@ -0,0 +1 @@
[]