fixed bug with slashes on win32

This commit is contained in:
coderaiser 2012-11-29 03:28:03 -05:00
parent c668a82196
commit 045caf467e
3 changed files with 13 additions and 5 deletions

View file

@ -16,7 +16,11 @@
Server = main.require(DIR + 'server'),
srv = Server.CloudServer,
Config = main.config;
/* reinit main dir os if we on
* Win32 should be backslashes */
DIR = main.DIR;
readConfig();
Server.start(Config, {
index : indexProcessing,