Skip to content

Instantly share code, notes, and snippets.

@ronokdev
Last active March 27, 2018 08:30
Show Gist options
  • Save ronokdev/ea19f8196a51610d8a2dff67f717e25f to your computer and use it in GitHub Desktop.
Save ronokdev/ea19f8196a51610d8a2dff67f717e25f to your computer and use it in GitHub Desktop.
Access Laravel Api from Different Domain
# Add
→ Go to path :: ProjectName\public\index.php
→ header("Access-Control-Allow-Origin: *");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment