Commit Graph

8 Commits

Author SHA1 Message Date
ccbikai
6632363520 feat: switch to server-side rendering 2024-11-06 20:03:43 +08:00
ccbikai
89ba27cd9b feat: add 'util' module to Node.js integration
Enhance compatibility by including the 'util' module in the Node.js integration configuration, ensuring broader functionality and support for utility functions.
2024-10-17 12:14:09 +08:00
ccbikai
a35dc1c016 feat: remove Sentry integration if DSN is missing
Enhance configuration robustness by disabling Sentry integration when DSN is not provided, preventing potential runtime errors.
2024-10-15 21:20:18 +08:00
ccbikai
b8f0d6fb78 feat: integrate Sentry in CI and Astro config for enhanced error tracking
Ensures Sentry is consistently configured across CI and project settings, improving error monitoring and issue resolution.
2024-10-15 20:41:40 +08:00
ccbikai
dac74bc9d8 chore: conditionally enable Sentry integration based on environment variable
Conditionally enables Sentry integration only if the SENTRY_DSN environment variable is set, improving build efficiency and reducing unnecessary dependencies.
2024-09-18 20:52:59 +08:00
ccbikai
2b9807bd89 feat: add Docker support and enhance environment configuration
- Introduce .dockerignore for Docker build optimization
- Add Dockerfile for containerization setup
- Update .env.example to clear Sentry variables and rename HOST to TELEGRAM_HOST
- Modify astro.config.mjs to conditionally exclude SSR dependencies in Docker builds
- Adjust postinstall script to safely handle missing .git directory
- Refactor telegram host retrieval for clarity and consistency
2024-08-31 13:41:16 +08:00
ccbikai
2df9b66ed9 feat: enhance deployment and media handling
- Updated deployment configurations to disable Incremental Static Regeneration (ISR) and cache on demand pages for better performance control.
- Extended .gitignore to include deployment-specific directories, preventing unnecessary files from being tracked.
- Improved video handling in content by adding support for additional video types and enhancing video element attributes for better playback control.
- Refactored post retrieval logic to ensure channel information is correctly merged and SEO data is accurately assigned.
- Enhanced static file handling to include error handling and domain whitelisting for security and reliability.
2024-08-05 18:57:28 +08:00
ccbikai
c39ab2d528 feat: init 2024-08-04 20:42:51 +08:00