Skip to content
Snippets Groups Projects
Commit e5fc9bff authored by Dylan Hicks's avatar Dylan Hicks
Browse files

Set all scripts to use "strict mode"

parent f061bcc4
Branches
Tags
No related merge requests found
"use strict";
function getConfig(){
var config;
......
"use strict";
module.exports = {
};
"use strict";
var fs = require("fs");
var http = require("http");
var net = require("net");
......
"use strict";
var fs = require("fs");
var cproc = require("child_process");
......
"use strict";
var express = require("express");
var http = require("http");
var fs = require("fs");
......@@ -13,7 +15,6 @@ app.get("/", function(req, res){
res.end();
});
// Create server, start it, and make sure it gracefully shuts down
// when this service gets terminated
// Create server and listening socket, then set appropriate perms on socket
server = httpSockets.createServer(app);
server.listen(config.varPath + "/login-service.sock");
"use strict";
var express = require("express");
var http = require("http");
var fs = require("fs");
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment