Skip to content

Commit d6a486b

Browse files
Merge pull request #5647 from topcoder-platform/develop
Release v1.10.6
2 parents acd4b25 + 6baafb4 commit d6a486b

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ workflows:
371371
branches:
372372
only:
373373
- develop
374-
- ast-store-artifacts
374+
- tc-api-issue
375375
# Production builds are exectuted
376376
# when PR is merged to the master
377377
# Don't change anything in this configuration

src/server/tc-communities/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
import _ from 'lodash';
66
import { getList, getMetadata } from 'server/services/communities';
7-
import { logger } from 'topcoder-react-lib';
87
import express from 'express';
98

109
const router = express.Router();
@@ -28,7 +27,6 @@ router.get('/', (req, res) => {
2827
*/
2928
router.get('/:communityId/meta', (req, res) => {
3029
const { communityId } = req.params;
31-
logger.log('getMetadata::origin : ', req.headers.referer);
3230
getMetadata(communityId)
3331
.catch(err => res.status(404).send(err))
3432
.then(data => res.json(data));

src/shared/reducers/terms.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ export function factory(req) {
329329

330330
// if it's commynity page
331331
let communityId = getCommunityId(req.subdomains);
332-
if (!communityId && req.url.match(/\/community\/.*/)) {
332+
if (!communityId && req.url.startsWith('/__community__')) {
333333
[,, communityId] = req.url.split('/');
334334
// remove possible params like ?join=<communityId>
335335
communityId = communityId ? communityId.replace(/\?.*/, '') : communityId;
@@ -340,7 +340,6 @@ export function factory(req) {
340340

341341
// load terms for the entity
342342
if (entity) {
343-
logger.log('terms::reducer::origin ', req.headers.referer);
344343
return redux.resolveAction(actions.terms.getTermsDone(entity, tokens))
345344
.then((termsDoneAction) => {
346345
// we have to init first, otherwise results will be ignored by onGetTermsDone

0 commit comments

Comments
 (0)