Last active
December 23, 2019 20:43
-
-
Save hamzamu/32221fd5271d39a1805c203d98c565e0 to your computer and use it in GitHub Desktop.
Meteor: Set Env Paramter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Meteor } from 'meteor/meteor'; | |
log = console.log | |
Meteor.startup(() => { | |
// code to run on server at startup | |
process.env.ROOT_URL = 'http://localhost'; | |
process.env.PORT = 3333 | |
log('Running at http://localhost:3333') | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment