Skip to content

Commit

Permalink
sourcemint loader uri route fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cadorn committed May 11, 2012
1 parent aedaf74 commit 23ed482
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins-server/cloud9.sourcemint/sourcemint.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = function startup(options, imports, register) {
imports.connect.useStart(imports.connect.getModule().router(function(app) {

// Serve the sourcemint loader file.
app.get(/(\/loader\.[^\/]*)/, function(req, res) {
app.get(/^(\/loader\.[^\/]*)/, function(req, res) {
req.url = req.params[0];
loaderStatic(req, res, function() {
res.writeHead(404);
Expand Down

0 comments on commit 23ed482

Please sign in to comment.