Commit Graph

7 Commits

Author SHA1 Message Date
Denshooter
588dfb912b feat(sitemap): enhance sitemap generation and error handling
Add optional `updated_at` field to the Project interface for 
tracking last modification. Update base URL to use an 
environment variable for better configurability. Improve 
error handling during sitemap data fetching by logging 
errors and returning static routes as a fallback. 
Refactor change frequency and priority logic for clarity 
and maintainability.
2025-02-12 18:31:13 +01:00
Denshooter
1f4fe21555 fix: correct CMD syntax in Dockerfile
Remove extraneous character from CMD instruction in Dockerfile to 
ensure proper execution of the start script. This change fixes 
the command syntax and improves the reliability of the Docker 
container startup process.
2025-02-12 18:18:49 +01:00
Denshooter
44589b5bbd feat(sitemap): update base URL and add build environment handling
Change the base URL from localhost to the production URL. 
Implement a check for the build environment to use mock data 
for generating the sitemap during the build process. 
This ensures that sitemap is correctly populated 
with project routes even when the API is not available.
2025-02-12 17:58:59 +01:00
Denshooter
82953ea1b3 update bug fix 2025-02-10 15:27:39 +01:00
Denshooter
18e2268e0e Update Dockerfile 2025-02-10 15:08:37 +01:00
Denshooter
3914c776d9 updating to lts 2025-02-10 13:50:04 +01:00
Denshooter
2d9124f3e5 adding Dockerfile for CI/CD 2025-02-10 13:45:34 +01:00