Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8123de1

Browse files
committed
Fixing issue with host
1 parent2e30e6a commit8123de1

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

‎.env‎

Lines changed: 1 addition & 1 deletion
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

‎client/.env.production‎

Lines changed: 2 additions & 2 deletions
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

‎server/main.py‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@
22
fromgqlimportgraphql_app
33
fromfastapi.middleware.corsimportCORSMiddleware
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)

[8]ページ先頭

©2009-2025 Movatter.jp