Successfully set the environmental variable for the remote mongodb connection.

This commit is contained in:
Andrés Uribe Stengel 2020-07-04 11:37:19 +02:00
parent ae5ffc4425
commit db5ac3d0d2

View File

@ -2,4 +2,8 @@ import { Meteor } from 'meteor/meteor';
Meteor.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);
});