-
Notifications
You must be signed in to change notification settings - Fork 213
Open
Labels
Description
I want to listen port 8080 to deploy mockbin, but apiembed can not work.
I look at the code, find the following line of code is the problem
//filename: src/views/bin/view.jade
// Original code
iframe(src='http://api.apiembed.com/?source=#{req.protocol}://#{req.hostname}/bin/#{req.params.uuid}/sample', frameborder=0, scrolling='no', marginheight=0, marginwidth=0, width='100%', height=350, seamless)
// Solved the problem
iframe(src='http://api.apiembed.com/?source=#{req.protocol}://#{req.hostname}:8080/bin/#{req.params.uuid}/sample', frameborder=0, scrolling='no', marginheight=0, marginwidth=0, width='100%', height=350, seamless)
Are there any other people who have this problem ? Is there a better way to solve it