diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-02-12 06:03:04 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-02-12 06:03:04 +0900 |
| commit | a7ac99f14288091406cdc73265c8dba5ac1d4243 (patch) | |
| tree | 98ef582eda403747567e10877d96c14c925c3ebb /src/api/server.ts | |
| parent | [API] Fix: Validate file_id (diff) | |
| download | sharkey-a7ac99f14288091406cdc73265c8dba5ac1d4243.tar.gz sharkey-a7ac99f14288091406cdc73265c8dba5ac1d4243.tar.bz2 sharkey-a7ac99f14288091406cdc73265c8dba5ac1d4243.zip | |
Revert "[Server] Fix bug"
This reverts commit d0f8634865be5ee1aa1c809e9f564f7aa1201d19.
Diffstat (limited to 'src/api/server.ts')
| -rw-r--r-- | src/api/server.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/server.ts b/src/api/server.ts index 976741ff7a..390032f9a4 100644 --- a/src/api/server.ts +++ b/src/api/server.ts @@ -17,7 +17,6 @@ const app = express(); app.disable('x-powered-by'); app.set('etag', false); -require('./service/github')(app); app.use(bodyParser.urlencoded({ extended: true })); app.use(bodyParser.json({ type: ['application/json', 'text/plain'] @@ -62,6 +61,7 @@ app.use((req, res, next) => { next(); }); +require('./service/github')(app); require('./service/twitter')(app); module.exports = app; |