v1.18.x
Julian Lam 11 years ago
parent 87309601ce
commit a7216caa3b

@ -10,11 +10,11 @@
<div class="well"> <div class="well">
<h3> <h3>
You are now leaving NodeBB. You are now leaving {title}.
</h3> </h3>
<p> <p>
<a href="{url}" rel="nofollow" class="btn btn-primary btn-lg">Continue to {url}</a> <a href="{url}" rel="nofollow" class="btn btn-primary btn-lg">Continue to {url}</a>
<a id="return-btn" href="#" class="btn btn-lg btn-warning">Return to NodeBB</a> <a id="return-btn" href="#" class="btn btn-lg btn-warning">Return to {title}</a>
</p> </p>
</div> </div>
</div> </div>

@ -190,7 +190,8 @@ var user = require('./../user.js'),
if (url) { if (url) {
res.json({ res.json({
url: url url: url,
title: meta.config.title
}); });
} else { } else {
res.status(404); res.status(404);

Loading…
Cancel
Save