Skip to content

Commit

Permalink
fix(:bug:): ensure that the same referer is set in Node.js applicatio…
Browse files Browse the repository at this point in the history
…ns that is passed along in toke

AFFECTS PACKAGES:
@esri/arcgis-rest-auth
  • Loading branch information
jgravois committed Nov 20, 2018
1 parent fdae3b6 commit afaa564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/arcgis-rest-auth/src/generate-token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function generateToken(
) {
options.params.referer = window.location.host;
} else {
options.params.referer = "@esri.arcgis-rest";
options.params.referer = "@esri/arcgis-rest";
}

return request(url, options);
Expand Down

0 comments on commit afaa564

Please sign in to comment.