add original url
This commit is contained in:
parent
3dd6a77556
commit
605f32b3e8
2 changed files with 5 additions and 2 deletions
|
@ -27,7 +27,10 @@ void main(List<String> argsRaw) async {
|
|||
) async {
|
||||
final authResponse = await http.get(
|
||||
settings.authUri,
|
||||
headers: request.headers,
|
||||
headers: {
|
||||
...request.headers,
|
||||
'x-original-url': request.requestedUri.toString(),
|
||||
},
|
||||
);
|
||||
|
||||
if (authResponse.statusCode != 200) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue