Skip to content

Commit b5625bc

Browse files
committed
more configuration options in the CLI
1 parent 09279d1 commit b5625bc

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

src/cli/cli-definitions.js

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ export default {
2929
env: "PARSE_SERVER_URL",
3030
help: "URL to your parse server with http:// or https://.",
3131
},
32+
"publicServerURL": {
33+
env: "PARSE_PUBLIC_SERVER_URL",
34+
help: "Public URL to your parse server with http:// or https://.",
35+
},
3236
"clientKey": {
3337
env: "PARSE_SERVER_CLIENT_KEY",
3438
help: "Key for iOS, MacOS, tvOS clients"
@@ -145,6 +149,26 @@ export default {
145149
return opt;
146150
}
147151
},
152+
"liveQuery": {
153+
env: "PARSE_SERVER_LIVE_QUERY_OPTIONS",
154+
help: "liveQuery options",
155+
action: function action(opt) {
156+
if (typeof opt == 'object') {
157+
return opt;
158+
}
159+
return JSON.parse(opt);
160+
}
161+
},
162+
"customPages": {
163+
env: "PARSE_SERVER_CUSTOM_PAGES",
164+
help: "custom pages for pasword validation and reset",
165+
action: function action(opt) {
166+
if (typeof opt == 'object') {
167+
return opt;
168+
}
169+
return JSON.parse(opt);
170+
}
171+
},
148172
"maxUploadSize": {
149173
env: "PARSE_SERVER_MAX_UPLOAD_SIZE",
150174
help: "Max file size for uploads.",

0 commit comments

Comments
 (0)