Successfully set the environmental variable for the remote mongodb connection.
This commit is contained in:
parent
ae5ffc4425
commit
db5ac3d0d2
@ -2,4 +2,8 @@ import { Meteor } from 'meteor/meteor';
|
|||||||
|
|
||||||
Meteor.startup(() => {
|
Meteor.startup(() => {
|
||||||
// code to run on server at startup
|
// code to run on server at startup
|
||||||
|
|
||||||
|
process.env.MONGO_URL = 'MONGO_URL=mongodb://garden:99009911@cloud.timovolkmann.de:27017/Smart_Garden';
|
||||||
|
|
||||||
|
console.log(process.env.MONGO_URL);
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user