Skip to content

Commit

Permalink
feat(nginx): Update device ID mapping in nginx configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
alimd committed Dec 25, 2023
1 parent 9d6d671 commit 5ff4080
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ map $http_user_token $user_token_location {
}

# extract $device_id_location from first 3 characters of `device-id` header.
map $http_user_device $device_id_location {
"~^(?<prefix>.{3})" $storeRegionPerDevice/$prefix/$http_user_device;
map $http_device_id $device_id_location {
"~^(?<prefix>.{3})" $storeRegionPerDevice/$prefix/$http_device_id;
default '';
}

0 comments on commit 5ff4080

Please sign in to comment.