Skip to content

Commit 06ae849

Browse files
committed
Fix typo
1 parent 0cc1a59 commit 06ae849

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/serverless.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@ export const handler = async (event: APIGatewayEvent) => {
1212
cookie.includes('refresh_token') || cookie.includes('access_token');
1313

1414
if (event.path === 'ads.txt') {
15-
return 'google.com, pub-5574866530496701, DIRECT, f08c47fec0942fa0';
15+
return {
16+
statusCode: 200,
17+
headers: {
18+
'content-type': 'text/html; charset=utf-8;',
19+
},
20+
body: 'google.com, pub-5574866530496701, DIRECT, f08c47fec0942fa0',
21+
};
1622
}
1723

1824
try {

0 commit comments

Comments
 (0)