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

Enable CORS header in /item #87

Merged
merged 3 commits into from
Aug 18, 2023
Merged

Enable CORS header in /item #87

merged 3 commits into from
Aug 18, 2023

Conversation

jfontan
Copy link
Collaborator

@jfontan jfontan commented Aug 18, 2023

  • Add Access-Control-Allow-Origin: * header in /item
  • Upgrade go compiler to 1.21
  • Use crypto/rand instead of math/rand

Fixes #86

Use crypto/rand instead of math/rand as it is now the recommended
method.
This lets other web pages use it as an external API.
@jfontan jfontan merged commit 68e4452 into master Aug 18, 2023
3 checks passed
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.

API Access
1 participant