Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable CORS #1

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Disable CORS #1

wants to merge 7 commits into from

Conversation

ocomsoft
Copy link

@ocomsoft ocomsoft commented Feb 3, 2022

Proposed changes

When using this the Chrome would throw up a CORS error because the Vue app was served from another port. To avoid this we needed to change the server to allow requests from all origins.

Type of change

  • New feature
  • Improvement (improvement to code, performance, etc)
  • Documentation update

Checklist

  • Lint (golangci-lint run) has passed locally and any fixes were made for failures
  • Tests (go test ./...) for the changes have been added (bug fixes / features)
  • Docs have been reviewed and added / updated if needed (bug fixes / features)

@ocomsoft ocomsoft requested a review from chanioxaris as a code owner February 3, 2022 03:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant