Skip to content

Commit 7b45952

Browse files
committed
Fix editor rename.
1 parent 3a842f7 commit 7b45952

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

coder-apps/common/editor/app/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ exports.api_getcode_handler = function( app, req, res, pathmatches ) {
9393
htmldata: getFile( path + '/apps/' + apptoedit + '/views/index.html' ),
9494
jsdata: getFile( path + '/apps/' + apptoedit + '/static/js/index.js' ),
9595
cssdata: getFile( path + '/apps/' + apptoedit + '/static/css/index.css' ),
96-
appdata: getFile( path + '/apps/' + apptoedit + '/app/main.js' )
96+
appdata: getFile( path + '/apps/' + apptoedit + '/app/index.js' )
9797
};
9898

9999
res.json( outdata );
@@ -194,7 +194,7 @@ exports.api_savecode_handler = function( app, req, res, pathmatches ) {
194194
} else if ( datatype === 'js' ) {
195195
filepath = path + '/apps/' + apptoedit + '/static/js/index.js'
196196
} else if ( datatype === 'app' ) {
197-
filepath = path + '/apps/' + apptoedit + '/app/main.js'
197+
filepath = path + '/apps/' + apptoedit + '/app/index.js'
198198
}
199199

200200
coderlib.app(apptoedit, function(err, app) {

0 commit comments

Comments
 (0)