## Description Login and account creation work locally but return a 404 error when deployed to the NTNU server. This happens because several frontend components use `fetch("/graphql")`, which sends requests to the root URL instead of `/project2/graphql`. Update the GraphQL API paths to use `${import.meta.env.BASE_URL}graphql` so that requests work correctly in both local development and production. ## Done when - [x] All frontend components use ${import.meta.env.BASE_URL}graphql instead of hardcoded /graphql paths. - [x] Login works in both local development and production. - [x] Users can create accounts in both environments. - [x] Profile and gallery functionality work correctly. - [x] No 404 errors occur when making GraphQL requests in production.