This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head><meta charSet="utf-8"/></head> | |
<body><h1>GOODBYE FRAUD!</h1></body> | |
<!-- Adding library from NPM via UNPKG --> | |
<script type="module" > | |
// Pull Library from CDN | |
import {XRAY} from 'https://unpkg.com/@keyri/xray/index.mjs'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Set default response headers as `const` | |
let DEFAULT_HEADERS = { | |
"Access-Control-Allow-Origin": "*", | |
"Access-Control-Allow-Credentials": true, | |
}; | |
export const handler = async (event) => { | |
// N.B. YOU SHOULD MAKE A _REAL_ APPLICATION WITH ERROR CHECKING | |
// AND SOLID DEV PRACTICES. THIS IS A PROOF-OF-CONCEPT. |
OlderNewer