sleep in hook and cors in config
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -125,6 +125,53 @@
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"cors": {
|
||||
"type": "object",
|
||||
"description": "cors configuration",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"merge": {
|
||||
"type": "boolean",
|
||||
"description": "merge with global and project cors configuration"
|
||||
},
|
||||
"allowOrigins": {
|
||||
"type": "array",
|
||||
"description": "list of allowed origins",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"allowMethods": {
|
||||
"type": "array",
|
||||
"description": "list of allowed methods",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"allowHeaders": {
|
||||
"type": "array",
|
||||
"description": "list of allowed headers",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"allowCredentials": {
|
||||
"type": "boolean",
|
||||
"description": "allow credentials"
|
||||
},
|
||||
"exposeHeaders": {
|
||||
"type": "array",
|
||||
"description": "list of exposed headers",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"maxAge": {
|
||||
"type": "integer",
|
||||
"description": "max age in seconds"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": ["name", "permissions"]
|
||||
|
||||
@@ -77,6 +77,53 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"cors": {
|
||||
"type": "object",
|
||||
"description": "cors configuration",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"merge": {
|
||||
"type": "boolean",
|
||||
"description": "merge with global cors configuration"
|
||||
},
|
||||
"allowOrigins": {
|
||||
"type": "array",
|
||||
"description": "list of allowed origins",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"allowMethods": {
|
||||
"type": "array",
|
||||
"description": "list of allowed methods",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"allowHeaders": {
|
||||
"type": "array",
|
||||
"description": "list of allowed headers",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"allowCredentials": {
|
||||
"type": "boolean",
|
||||
"description": "allow credentials"
|
||||
},
|
||||
"exposeHeaders": {
|
||||
"type": "array",
|
||||
"description": "list of exposed headers",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"maxAge": {
|
||||
"type": "integer",
|
||||
"description": "max age in seconds"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": ["namespace"]
|
||||
|
||||
Reference in New Issue
Block a user