Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(PM-195): Cross site request forgery #7031

Merged
merged 6 commits into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions src/server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,9 @@ import { getRates as getExchangeRates } from 'services/money';
import { toJson as xmlToJson } from 'utils/xml2json';

import cdnRouter from './routes/cdn';
import mailChimpRouter from './routes/mailchimp';
import mockDocuSignFactory from './__mocks__/docu-sign-mock';
import recruitCRMRouter from './routes/recruitCRM';
import mmLeaderboardRouter from './routes/mmLeaderboard';
import gSheetsRouter from './routes/gSheet';
import blogRouter from './routes/blog';
import feedsRouter from './routes/feeds';

/* Dome API for topcoder communities */
import tcCommunitiesDemoApi from './tc-communities';
Expand Down Expand Up @@ -243,12 +239,8 @@ async function onExpressJsSetup(server) {
});

server.use('/api/cdn', cdnRouter);
server.use('/api/mailchimp', mailChimpRouter);
server.use('/api/recruit', recruitCRMRouter);
server.use('/api/mml', mmLeaderboardRouter);
server.use('/api/gsheets', gSheetsRouter);
server.use('/api/blog', blogRouter);
server.use('/api/feeds', feedsRouter);

// serve demo api
server.use(
Expand Down
20 changes: 0 additions & 20 deletions src/server/routes/blog.js

This file was deleted.

63 changes: 0 additions & 63 deletions src/server/routes/feeds.js

This file was deleted.

21 changes: 0 additions & 21 deletions src/server/routes/gSheet.js

This file was deleted.

34 changes: 0 additions & 34 deletions src/server/routes/mailchimp.js

This file was deleted.

32 changes: 0 additions & 32 deletions src/server/services/blog.js

This file was deleted.

135 changes: 0 additions & 135 deletions src/server/services/gSheet.js

This file was deleted.

Loading
Loading