Skip to content

Commit

Permalink
fix(nginx): device id variable
Browse files Browse the repository at this point in the history
  • Loading branch information
njfamirm authored and alimd committed Dec 25, 2023
1 parent 3e16b69 commit 7e58911
Showing 1 changed file with 1 addition and 1 deletion.
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 $user_device_location {
map $http_user_device $device_id_location {
"~^(?<prefix>.{3})" $storeRegionPerDevice/$prefix/$http_user_device;
default '';
}

0 comments on commit 7e58911

Please sign in to comment.