Open hados99 opened 5 years ago
Thanks for really nice tool :)
I need to run arena without cdn support - useCdn: false. And I want to run arena standalone server, not node module.
Is there any way to provide useCdn parameter when running server? I could not find clues, because run() at index.js does not have parameters.
https://github.com/bee-queue/arena/blob/ae39d9051e87f5f0f120db24dc649c98129a9f1e/index.js#L27
how about this? any advice is welcome.
// index.js if (require.main === module) run(undefined, process.argv[2] ? JSON.parse(process.argv[2]) : {});
$ nodemon index.js {\"useCdn\":\"true\"}
This isn't currently supported, but would be a great addition! I'd prefer to see standard options using something like yargs - feel free to submit a PR!
yargs
Thanks for really nice tool :)
I need to run arena without cdn support - useCdn: false. And I want to run arena standalone server, not node module.
Is there any way to provide useCdn parameter when running server? I could not find clues, because run() at index.js does not have parameters.
https://github.com/bee-queue/arena/blob/ae39d9051e87f5f0f120db24dc649c98129a9f1e/index.js#L27
how about this? any advice is welcome.