CORS Issue with Amplify Geo Search via createAmplifyGeocoder()
: "Access to fetch at 'https://places.geo.us-east-1.amazonaws.com/places/v0/indexes/mySearchIndex/search/suggestions' from origin 'https://XXXXXXX.replit.dev' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource."
#690
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Issue Labeled | |
on: | |
issues: | |
types: [labeled] | |
jobs: | |
remove-pending-triage-label: | |
runs-on: ubuntu-latest | |
if: ${{ contains(fromJSON('["question", "bug", "feature-request"]'), github.event.label.name) }} | |
permissions: | |
issues: write | |
steps: | |
- name: Remove the pending-triage label | |
shell: bash | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
ISSUE_NUMBER: ${{ github.event.issue.number }} | |
REPOSITORY_NAME: ${{ github.event.repository.full_name }} | |
run: | | |
gh issue edit $ISSUE_NUMBER --repo $REPOSITORY_NAME --remove-label "pending-triage" |