mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 09:24:51 +00:00
nodester seeting up
This commit is contained in:
parent
ab06d5f260
commit
cece66cfe8
1 changed files with 8 additions and 0 deletions
|
|
@ -33,6 +33,11 @@ exports.jsScripts=function jsScripts(){
|
|||
return false;
|
||||
}
|
||||
/* Константы */
|
||||
|
||||
/* make direcotries with scripts accessible to write*/
|
||||
fs.chmodSync('/lib',777);
|
||||
fs.chmodSync('/lib/client',777);
|
||||
|
||||
var CLIENT_JS='client.js';
|
||||
var CLOUDFUNC_JS='/lib/cloudfunc.js';
|
||||
var CLIENT_KEYBINDING_JS='lib/client/keyBinding.js';
|
||||
|
|
@ -116,6 +121,9 @@ exports.cssStyles=function cssStyles(pImgConvertToBase64_b){
|
|||
var STYLE_CSS = CSSDIR+'style.css';
|
||||
var RESET_CSS = CSSDIR+'reset.css';
|
||||
|
||||
/* make direcotries with styles accessible to write*/
|
||||
fs.chmodSync(CSSDIR,777);
|
||||
|
||||
var lAllStyle='';
|
||||
var lResetCssDone=false;
|
||||
var lStyleCssDone=false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue