Skip to content

Commit

Permalink
Merge pull request #84 from refactor-group/update_docker
Browse files Browse the repository at this point in the history
Update docker
  • Loading branch information
jhodapp authored Dec 11, 2024
2 parents 36b4948 + 132b399 commit a0c9a7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ services:

nextjs-app:
build:
context: https://github.com/refactor-group/refactor-platform-fe.git # change to fs directory to run locally
context: https://github.com/refactor-group/refactor-platform-fe.git#main # change to fs directory to run locally
dockerfile: Dockerfile
target: runner # Use runner target
ports:
Expand Down
3 changes: 1 addition & 2 deletions web/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ pub async fn init_server(app_state: AppState) -> Result<()> {
CONTENT_TYPE,
])
.expose_headers([ApiVersion::field_name().parse::<HeaderName>().unwrap()])
.allow_origin("http://localhost:3000".parse::<HeaderValue>().unwrap())
.allow_origin("http://localhost:3001".parse::<HeaderValue>().unwrap());
.allow_origin("http://localhost:3000".parse::<HeaderValue>().unwrap());

axum::serve(
listener,
Expand Down

0 comments on commit a0c9a7b

Please sign in to comment.