-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#1] Add local db support #9
base: main
Are you sure you want to change the base?
Conversation
local.js
Outdated
const domain = url.replace('https://', ''); | ||
process.env.HOSTNAME = domain; | ||
(async function () { | ||
const url = await ngrok.connect(port).catch(console.error); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are using await here, I'm not sure if the catch method is invoked on exception.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need use try catch
@@ -0,0 +1,14 @@ | |||
version: "1" | |||
services: | |||
hygieia-mongo: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add a service for our bot to start locally by npm run local
No description provided.