Public Access
1
0

feat: update proxy middleware configuration and enhance Docker Compose setup for development

This commit is contained in:
2025-08-23 12:26:33 -04:00
parent 53b70d776a
commit 14a89bf6e2
4 changed files with 120 additions and 8 deletions

View File

@@ -50,7 +50,8 @@ module.exports = function(eleventyConfig) {
// When the site is served by Eleventy's dev server, proxy API requests
// to the API server which is running in a separate container.
middleware: [
createProxyMiddleware('/api', {
createProxyMiddleware({
pathFilter: '/api/**',
target: 'http://api:3000', // The 'api' service container
changeOrigin: true,
}),