Skip to content

Commit

Permalink
Debug workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
johnshaughnessy committed Nov 7, 2023
1 parent 3d076b2 commit 99ebbe6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ services:
track-server:
image: us-central1-docker.pkg.dev/hubs-dev-333333/ocho-osai/johnshaughnessy/track/track-server
volumes:
- ./track:/track
- ./:/track
2 changes: 1 addition & 1 deletion server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async fn main() -> std::io::Result<()> {
.allowed_header(http::header::CONTENT_TYPE)
.max_age(3600),
ref x if x == "prod" => Cors::default()
.allowed_origin("https://www.example.com")
.allow_any_origin()
.allowed_methods(vec!["GET", "POST", "PATCH", "DELETE"])
.allowed_headers(vec![http::header::AUTHORIZATION, http::header::ACCEPT])
.allowed_header(http::header::CONTENT_TYPE)
Expand Down

0 comments on commit 99ebbe6

Please sign in to comment.