diff --git a/inc/fftcgdb.coffee b/inc/db.coffee similarity index 100% rename from inc/fftcgdb.coffee rename to inc/db.coffee diff --git a/inc/fftcgrouter.coffee b/inc/router.coffee similarity index 98% rename from inc/fftcgrouter.coffee rename to inc/router.coffee index 290ffda..bd70f95 100644 --- a/inc/fftcgrouter.coffee +++ b/inc/router.coffee @@ -3,7 +3,7 @@ express = (require 'express') path = (require 'path') # my libraries -FFTCGDB = (require './fftcgdb') +FFTCGDB = (require './db') # open fftcg db fftcgdb = new FFTCGDB path.resolve(__dirname, '../fftcg.db') diff --git a/inc/fftcgsession.coffee b/inc/session.coffee similarity index 100% rename from inc/fftcgsession.coffee rename to inc/session.coffee diff --git a/inc/fftcgsocket.coffee b/inc/socket.coffee similarity index 100% rename from inc/fftcgsocket.coffee rename to inc/socket.coffee diff --git a/server.coffee b/server.coffee index 78e669c..5817622 100644 --- a/server.coffee +++ b/server.coffee @@ -7,9 +7,9 @@ http = (require 'http') path = (require 'path') # my libraries -FFTCGSOCKET = (require './inc/fftcgsocket') -FFTCGSESSION = (require './inc/fftcgsession') -FFTCGROUTER = (require './inc/fftcgrouter') +FFTCGSOCKET = (require './inc/socket') +FFTCGSESSION = (require './inc/session') +FFTCGROUTER = (require './inc/router') # express framework app = express()