Thaum Rystra
Thaum Rystra

Reputation: 749

How do you change the iframe address used by Meteor Velocity

I am using Codio for my Meteor development, so my app is not hosted at localhost:3000 when I'm previewing it, it's actually at random-name.codio.io:3000, which I have to get to by visiting random-name-3000.codio.io, so when Velocity fires up its iframe to run client-side tests on it has the wrong address, like so: <iframe src="http://localhost:5000/?mocha=true&amp;lastModified=1427105608181">.

How do I convince Velocity to use random-name-5000.codio.io as its src instead of localhost:5000?

Upvotes: 1

Views: 155

Answers (1)

Marius Darila
Marius Darila

Reputation: 873

Try something like this when running the app, i think it's not correctly setting the app url root:

ROOT_URL=http://random-name.codio.io:3000 meteor --port=3000

Upvotes: 1

Related Questions