v1.18.x
Baris Usakli 12 years ago
parent 1637ffc5dc
commit 585e5cd88f

@ -13,6 +13,13 @@
</h3>
<p>
<a href="{url}" rel="nofollow" class="btn btn-primary btn-lg">Continue to {url}</a>
<a href="{home}" class="btn btn-lg btn-warning">Return to NodeBB</a>
<a id="return-btn" href="#" class="btn btn-lg btn-warning">Return to NodeBB</a>
</p>
</div>
</div>
<script>
$('#return-btn').on('click', function() {
history.back();
return false;
});
</script>

@ -174,8 +174,7 @@ var user = require('./../user.js'),
if (url) {
res.json({
url: url,
home: nconf.get('url')
url: url
});
} else {
res.status(404);

Loading…
Cancel
Save