We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm trying to do something simple enough, but can't figure it out for the life of me.
I am trying to change the database before using RestHapi.create() call.
RestHapi.create()
I have a config file which has the basic configuration setup and i need to change that dynamically for a certain functionality.
My config file creates a manifest, exactly like in appy-backend , another project by Author of this project.
appy-backend
I have tried using RestHapi.config.mongo.URI = "mongodb://localhost:27017/new_db_name"; but still it doesn't change the database.
RestHapi.config.mongo.URI = "mongodb://localhost:27017/new_db_name";
I can provide any other details that might be needed to solve this.
Please help.
The text was updated successfully, but these errors were encountered:
Hi @gautamchitnis, would you mind sharing your code where you register the rest-hapi plugin?
Sorry, something went wrong.
No branches or pull requests
I'm trying to do something simple enough, but can't figure it out for the life of me.
I am trying to change the database before using
RestHapi.create()
call.I have a config file which has the basic configuration setup and i need to change that dynamically for a certain functionality.
My config file creates a manifest, exactly like in
appy-backend
, another project by Author of this project.I have tried using
RestHapi.config.mongo.URI = "mongodb://localhost:27017/new_db_name";
but still it doesn't change the database.I can provide any other details that might be needed to solve this.
Please help.
The text was updated successfully, but these errors were encountered: