Skip to content

Commit

Permalink
make oembed smaler
Browse files Browse the repository at this point in the history
  • Loading branch information
remy committed Feb 17, 2017
1 parent ae8a8ab commit 37a5064
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/handlers/oembed.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ oembed.embed = function(req, res, next) {

var embedUrl = url.replace(/\/edit\b/, '/embed');
var callback = req.query.callback;
var width = req.query.maxwidth || 640;
var height = req.query.maxheight || 480;
var width = req.query.maxwidth || 320;
var height = req.query.maxheight || 240;

var oembed = {
type: 'rich',
Expand Down

0 comments on commit 37a5064

Please sign in to comment.