module.exports = (options, cb) => {
    return cb(null, (ctx, req, res) => {
        for (var h in options.secrets) {
            res.headers[h] = options.secrets[h];
        }
        res.end(options.script);
    });
};

@@ -82,45 +82,108 @@
     
-for (var h in options.secrets) %7B
+if (req.method !== 'GET') %7B%0A            res.writeHead(405);%0A            return res.end();
 %0A    
+    %7D%0A
     
@@ -194,20 +194,22 @@
 res.
-headers%5Bh%5D =
+writeHead(200,
  opt
@@ -224,22 +224,10 @@
 rets
-%5Bh%5D;%0A        %7D
+);
 %0A   

fix static compiler