Skip to content

Commit

Permalink
update allowed origins to all for now (#274)
Browse files Browse the repository at this point in the history
* update allowed origins to all for now

* reformat

* reformat
  • Loading branch information
zdeveloper authored Oct 1, 2024
1 parent d80e79c commit d9777b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-deploy-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Install NPM packages
run: npm ci
- name: Build project
run: VITE_API_URL=https://reportvision-ocr-api-dev.azurewebsites.net/ npm run build
run: VITE_API_URL='https://reportvision-ocr-api-dev.azurewebsites.net/' npm run build
- name: Run unit tests
run: npm run test
- name: Create client build archive
Expand Down
1 change: 1 addition & 0 deletions OCR/ocr/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
origins = [
"http://localhost:8000", # Allow requests from this origin
"http://localhost:5173", # Add your front-end domain here
"*",
]

app.add_middleware(
Expand Down

0 comments on commit d9777b9

Please sign in to comment.