Skip to content

Commit 8123de1

Browse files
committed
Fixing issue with host
1 parent 2e30e6a commit 8123de1

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

Diff for: .env

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ ADMINER_PORT=8081
4747
# Image Repository
4848
GITHUB_CONTAINER_REPO_SERVER=ghcr.io/jbris/fastapi-react-graphql
4949
GITHUB_CONTAINER_REPO_CLIENT=ghcr.io/jbris/fastapi-react-graphql-client
50-
APP_VERSION=0.0.1
50+
APP_VERSION=1.0.0

Diff for: client/.env.production

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
VITE_APP_NAME=fastapi-react-graphql
22
VITE_APP_VERSION=1.0.0
3-
VITE_GRAPHQL_URL=http://server:3000
4-
VITE_REDIS_URL=redis://redis:6379
3+
VITE_GRAPHQL_URL=http://localhost:3000
4+
VITE_REDIS_URL=redis://localhost:6379

Diff for: server/main.py

-7
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@
22
from gql import graphql_app
33
from fastapi.middleware.cors import CORSMiddleware
44

5-
origins = [
6-
"http://localhost",
7-
"localhost",
8-
"http://localhost:3000",
9-
"localhost:3000"
10-
]
11-
125
app = FastAPI()
136

147
app.add_middleware(

0 commit comments

Comments
 (0)