Browse Source

Remove gitea temporarily so it can live on its own.

master
Zed A. Shaw 7 months ago
parent
commit
e6da2ed675
  1. 4
      src/server.js

4
src/server.js

@ -7,7 +7,6 @@ import morgan from 'morgan';
import polka from 'polka';
import requestIp from 'request-ip';
import { serverauth } from '../lib/serverauth';
import { gitea } from '../lib/gitea';
import sirv from 'sirv';
const { PORT, NODE_ENV, LOG_ALL } = process.env;
@ -19,9 +18,6 @@ if(LOG_ALL) {
app.use(webLogger);
}
// WARN: this must go before body parser or else the githook sigs won't work
app.use('/webhook', gitea);
app.use(bodyParser.json());
app.use(requestIp.mw());

Loading…
Cancel
Save