bae705aa97
- Add NFC ePassport roadmap (ICAO 9303, eIDAS) - Add TensorFlow.js edge face detection (BlazeFace) - Add structured audit logger (GDPR-compliant) - Risk scoring support Part of KYC Apple Native UX v1.1.0
20 lines
556 B
Plaintext
20 lines
556 B
Plaintext
|
|
function handler(event) {
|
|
var host = event.request.headers.host.value;
|
|
var target;
|
|
if (host.indexOf('landvex') >= 0) {
|
|
target = 'https://www.landvex.com';
|
|
} else if (host.indexOf('quixzoom') >= 0) {
|
|
target = 'https://www.quixzoom.com';
|
|
} else if (host.indexOf('wavult') >= 0) {
|
|
target = 'https://wavult.com';
|
|
} else {
|
|
target = 'https://wavult.com';
|
|
}
|
|
return {
|
|
statusCode: 301,
|
|
statusDescription: 'Moved Permanently',
|
|
headers: { location: { value: target } }
|
|
};
|
|
}
|