Skip to content

Commit b8ae814

Browse files
committed
use event.rawPath as github-scraper url #128
1 parent f28d061 commit b8ae814

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ exports.handler = function handler (event, context, callback) {
88
debug(event);
99
console.log('rawPath:', event.rawPath)
1010

11-
const url = 'dwyl';
11+
const url = event.rawPath;
1212
gs(url, function(err, data) {
1313
console.log(' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ')
1414
console.log(data);

0 commit comments

Comments
 (0)