fix(config): Use a more generic server url pattern for push registrations.
https://github.com/mozilla/fxa-auth-server/pull/1699 r=philbooth
This commit is contained in:
Родитель
d79f63af3c
Коммит
3099acce41
|
@ -572,7 +572,7 @@ var conf = convict({
|
|||
allowedServerRegex: {
|
||||
doc: 'RegExp that validates the URI format of the Push Server',
|
||||
format: RegExp,
|
||||
default: /^https:\/\/updates\.push\.services\.mozilla\.com(\/.*)?$/
|
||||
default: /^https:\/\/[a-zA-Z0-9._-]+\.services\.mozilla\.com(\/.*)?$/
|
||||
}
|
||||
},
|
||||
sms: {
|
||||
|
|
Загрузка…
Ссылка в новой задаче