Skip to content

Commit

Permalink
Trying to figure out why this is not working
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPowerGamerBR committed Sep 21, 2023
1 parent 641928a commit d05522d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,15 @@ class EtherealGambi {

// Useful to access and manipulate images in a canvas
install(CORS) {
anyHost()
allowHeader(HttpHeaders.AccessControlAllowOrigin)
allowHeader(HttpHeaders.ContentType)
allowMethod(HttpMethod.Get)
allowMethod(HttpMethod.Post)
allowMethod(HttpMethod.Options)
allowMethod(HttpMethod.Put)
allowMethod(HttpMethod.Patch)
allowMethod(HttpMethod.Delete)
anyHost()
}

routing {
Expand Down

0 comments on commit d05522d

Please sign in to comment.