# Module: vertx-web-js/cors_handler

## vertx-web-js/cors_handler

Source:
  - cors_handler.js, line 3

### Classes

CorsHandler

### Methods

#### <static> CorsHandler.create(allowedOriginPattern) → {CorsHandler}

  Create a CORS handler

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `allowedOriginPattern` | string | the allowed origin pattern

  Source:
    - cors_handler.js, line 165

  ##### Returns:

  the handler
  Type
    CorsHandler