Skip to content

Commit

Permalink
Add permanent redirects for modplug instead of 404ing.
Browse files Browse the repository at this point in the history
  • Loading branch information
roncli committed Jun 8, 2015
1 parent 24018cc commit c627edd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions roncli.com/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,13 @@ app.get("/images/captcha.png", function(req, res) {
res.end(captcha.buffer());
});

// Permanent redirects for ModPlug, since we no longer host those files.
app.get(/^\/modplug[\/.*]?/, function(req, res) {
"use strict";

res.redirect(301, "http://www.modplug.com");
});

// Add the rendr server.
app.use(server.handle);

Expand Down

0 comments on commit c627edd

Please sign in to comment.