Skip to content

make backend routing work#7

Merged
Gawor270 merged 1 commit intomainfrom
backend-routing
Oct 22, 2025
Merged

make backend routing work#7
Gawor270 merged 1 commit intomainfrom
backend-routing

Conversation

@Gawor270
Copy link
Member

No description provided.

@Gawor270 Gawor270 requested review from Copilot and czerwiukk October 22, 2025 11:18
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR configures the backend to properly handle routing in a containerized environment by binding the Fastify server to all network interfaces and updating the frontend's backend URL configuration to use relative paths.

  • Configures Fastify to listen on all network interfaces (0.0.0.0) for Docker networking
  • Updates backend URL configuration from absolute nginx proxy path to relative API path

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
deep-sea-stories/packages/backend/src/main.ts Adds host binding to enable external access to the backend service in Docker
deep-sea-stories/docker-compose.yml Changes backend URL from nginx proxy path to relative API endpoint

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Gawor270 Gawor270 merged commit 80d134b into main Oct 22, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants