Commit Graph

4 Commits

Author SHA1 Message Date
c6e60af83f Initialize environment variables and enhance email configuration logging
- Added dotenv to load environment variables from a .env file in server.js.
- Updated SMTP configuration in email-handler.ts with default values for better development setup.
- Implemented debug logging for email configuration to assist in troubleshooting during development.
2025-11-02 01:17:23 +01:00
a767dbb115 Enhance security and localization features across the application
- Added rehype-sanitize plugin to the markdown configuration for improved security against XSS attacks.
- Updated environment variables in the codebase to include new configurations for SMTP and monitoring.
- Implemented secure headers in server and Nginx configurations to bolster security.
- Refactored email handling to prevent spoofing by ensuring safe sender addresses.
- Improved localization by updating language persistence and button components for better user experience.
- Enhanced the uptime API and contact form with better error handling and logging practices.
- Updated dependencies in package.json and package-lock.json for better performance and security.
2025-10-19 21:13:15 +02:00
becarta
0b59b3b977 Update server configuration and translations for improved deployment and user experience
- Enhanced server startup message to include dynamic protocol and domain based on the environment (production or development).
- Updated translation references from GitHub to Gitea across multiple languages for consistency.
- Refactored layout and metadata in Astro components to utilize SITE configuration for URLs, ensuring accurate site links.
- Cleaned up unused code in the layout file and removed commented-out sections for better readability.
2025-07-18 08:16:10 +02:00
efdd0c28d4 Update Astro configuration to use Fastify adapter and include prefetch integration
- Replaced the Node adapter with Fastify for improved performance.
- Added the @astrojs/prefetch integration to enhance resource loading.
- Updated server settings to adjust logging level and minification options.
- Modified package.json to include new dependencies for Fastify and prefetch.
2025-07-02 22:52:53 +02:00