From 4c665f77e91934e7f2423b4131ad736f21570ef1 Mon Sep 17 00:00:00 2001 From: Brandon Arbini Date: Tue, 26 May 2020 00:21:31 -0700 Subject: [PATCH] Document CORS option --- bin/serve.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/serve.js b/bin/serve.js index daceb964..9a09129f 100755 --- a/bin/serve.js +++ b/bin/serve.js @@ -83,6 +83,8 @@ const getHelp = () => chalk` -c, --config Specify custom path to \`serve.json\` + -C, --cors Enable CORS, sets \`Access-Control-Allow-Origin\` to \`*\` + -n, --no-clipboard Do not copy the local address to the clipboard -u, --no-compression Do not compress files