]> git.sesse.net Git - remoteglot/blobdiff - server/hash-lookup.js
Move the Node.js stuff out of the public www directory.
[remoteglot] / server / hash-lookup.js
similarity index 98%
rename from www/js/hash-lookup.js
rename to server/hash-lookup.js
index 654a3f9b9202ea9a1e16b2c324a77fc7a72f68d4..13f97582e51dd18f3bb562582218ecea7bdeb79c 100644 (file)
@@ -1,5 +1,5 @@
 var grpc = require('grpc');
-var Chess = require(__dirname + '/chess.min.js').Chess;
+var Chess = require('../www/js/chess.min.js').Chess;
 
 var PROTO_PATH = __dirname + '/hashprobe.proto';
 var hashprobe_proto = grpc.load(PROTO_PATH).hashprobe;