mirror of
https://github.com/amark/gun.git
synced 2026-03-07 17:41:45 +00:00
Formatting fix.
This commit is contained in:
@@ -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'});
|
||||
|
||||
Reference in New Issue
Block a user