Skip to content

Instantly share code, notes, and snippets.

@muxueqz
Created February 28, 2020 06:05
Show Gist options
  • Save muxueqz/22cfcc368019a2febbc8cb796126383c to your computer and use it in GitHub Desktop.
Save muxueqz/22cfcc368019a2febbc8cb796126383c to your computer and use it in GitHub Desktop.
diff -r /tmp/cache/orig-version/js/common/api/attester.js ./js/common/api/attester.js
11c11,12
< const r = await Attester.pubCall(`pub/${email}`);
---
> // const r = await Attester.pubCall(`pub/${email}`);
> const r = await Attester.pubCall(`by-email/${email}`);
100c101
< return await Api.apiCall('https://flowcrypt.com/attester/', resource, data, typeof data === 'string' ? 'TEXT' : undefined, undefined, undefined, 'xhr', method);
---
> return await Api.apiCall('https://keys.openpgp.org/vks/v1/', resource, data, typeof data === 'string' ? 'TEXT' : undefined, undefined, undefined, 'xhr', method);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment