UNPKG
linagora-rse
Version:
latest (1.3.7)
1.3.7
1.3.5
Linagora RSE
github.com/linagora/openpaas-esn
linagora/openpaas-esn
linagora-rse
/
backend
/
core
/
esn-config
/
metadata
/
web.js
19 lines
(16 loc)
•
277 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
const { createValidator } =
require
(
'../validator/helper'
); const schema = {
type
:
'object'
, properties: { base_url: {
type
:
'string'
,
format
:
'uri'
} }, required: [
'base_url'
] };
module
.exports = { validator: createValidator(schema) };