mirage
mirage copied to clipboard
Bugfix/custom url is not working on docker
If you try to use Mirage with docker it will fail because:
- In
Mirage.start (runner.rb:14)
it put default port. After that inMirage::Client
this if elsif(client.rb:15)
will never use custom url because at first it check if there is port and if it could find itlocalhost
is used. - In
Runner.start
it useMirage.running?(options)
-(runner.rb:91)
withHash
type param. Because of that it will always try to find if app is running aslocalhost
not u custom url.
I tried to fix this error with backward compatibility. Classes interface stay almost this same.
CI is broken