1
0
Fork 0
mirror of synced 2024-10-02 10:16:27 +13:00

Add host to execution detail

This commit is contained in:
Matej Bačo 2023-08-20 13:43:06 +02:00
parent 4d84cb2e45
commit 621e49e4b6

View file

@ -186,7 +186,7 @@ const APP_AUTH_TYPE_ADMIN = 'Admin';
// Response related
const MAX_OUTPUT_CHUNK_SIZE = 2 * 1024 * 1024; // 2MB
// Function headers
const FUNCTION_ALLOWLIST_HEADERS_REQUEST = ['content-type', 'agent', 'content-length'];
const FUNCTION_ALLOWLIST_HEADERS_REQUEST = ['content-type', 'agent', 'content-length', 'host'];
const FUNCTION_ALLOWLIST_HEADERS_RESPONSE = ['content-type', 'content-length'];
// Usage metrics
const METRIC_TEAMS = 'teams';