Skip to content

Instantly share code, notes, and snippets.

@supunsandeeptha
Created May 24, 2019 18:22
Show Gist options
  • Save supunsandeeptha/4fb590f666f5d122374e2f10470440b8 to your computer and use it in GitHub Desktop.
Save supunsandeeptha/4fb590f666f5d122374e2f10470440b8 to your computer and use it in GitHub Desktop.
# This is the main configuration file for the application.
# https://www.playframework.com/documentation/latest/ConfigFile
play.filters.enabled += "play.filters.cors.CORSFilter"
cors{
allowedOrigins = ["http://localhost:8100"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment