You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.js
+20-6
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,10 @@ class ServerlessDynamodbLocal {
43
43
shortcut: "p",
44
44
usage: "The port number that DynamoDB will use to communicate with your application. If you do not specify this option, the default port is 8000"
45
45
},
46
+
host: {
47
+
shortcut: "h",
48
+
usage: "The host name that DynamoDB will use to communicate with your application. If you do not specify this option, the default host name is 'localhost'"
49
+
},
46
50
cors: {
47
51
shortcut: "c",
48
52
usage: "Enable CORS support (cross-origin resource sharing) for JavaScript. You must provide a comma-separated \"allow\" list of specific domains. The default setting for -cors is an asterisk (*), which allows public access."
@@ -127,15 +131,25 @@ class ServerlessDynamodbLocal {
0 commit comments