Skip to content

Commit 8ac2e6f

Browse files
committed
Use JSON.stringify in server.js
1 parent 6ef4f8a commit 8ac2e6f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

server.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,12 @@ const { getResponse } = require('./lib')
1010
const port = 8080
1111
const assetPort = 8081
1212
const host = 'localhost'
13+
14+
const config = {
15+
title: 'Lambda@Edge Immutable Web App'
16+
}
1317
const options = {
14-
config: '{"title":"Lambda@Edge Immutable Web App"}',
18+
config: JSON.stringify(config),
1519
origin: `http://${host}:${assetPort}`,
1620
version: ''
1721
}

0 commit comments

Comments
 (0)