mirror of
https://github.com/Spengreb/sync.git
synced 2026-05-14 03:32:06 +00:00
Amend last commit
This commit is contained in:
parent
063b179ab3
commit
448d50e796
1 changed files with 1 additions and 1 deletions
2
api.js
2
api.js
|
|
@ -10,10 +10,10 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|||
*/
|
||||
|
||||
var Logger = require("./logger");
|
||||
var ActionLog = require("./actionlog");
|
||||
var fs = require("fs");
|
||||
|
||||
module.exports = function (Server) {
|
||||
var ActionLog = require("./actionlog")(Server);
|
||||
function getIP(req) {
|
||||
var raw = req.connection.remoteAddress;
|
||||
var forward = req.header("x-forwarded-for");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue