vibe.d beta banner
get vibe.d
0.10.0

Asynchronous I/O that doesn’t get in your way, written in D

Variable RestInterfaceSettings.allowedOrigins

List of allowed origins for CORS

class RestInterfaceSettings
{
  // ...
  string[] allowedOrigins ;
  // ...
}

Empty list is interpreted as allowing all origins (e.g. *)

Authors

Sönke Ludwig, Михаил Страшун, Mathias 'Geod24' Lang

Copyright

© 2012-2018 Sönke Ludwig

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.