From 62eb748f939ac5bed2dfd3970bda7eb290f4cd8a Mon Sep 17 00:00:00 2001 From: d3x0r Date: Fri, 24 Mar 2017 11:00:09 -0700 Subject: [PATCH] Formatting fix. --- examples/http-external-ws.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/http-external-ws.js b/examples/http-external-ws.js index 4a6f3d12..0099ca79 100644 --- a/examples/http-external-ws.js +++ b/examples/http-external-ws.js @@ -14,9 +14,9 @@ var gun = Gun({ }); var server = require('http').createServer(function(req, res){ - var insert = ""; + var insert = ""; if( req.url.endsWith( "gun.js" ) ) - insert = "../"; + insert = "../"; require('fs').createReadStream(require('path').join(__dirname, insert, req.url)).on('error',function(){ // static files! res.writeHead(200, {'Content-Type': 'text/html'});