mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-02-02 06:04:06 -05:00
refactor: stop sharing api/client specific config (#51423)
This commit is contained in:
committed by
GitHub
parent
2428910ad1
commit
cb9d6a6243
@@ -3,7 +3,7 @@ import axios from 'axios';
|
||||
import debug from 'debug';
|
||||
import isEmail from 'validator/lib/isEmail';
|
||||
import { donationSubscriptionConfig } from '../../../../config/donation-settings';
|
||||
import keys from '../../../../config/secrets';
|
||||
import keys from '../../../config/secrets';
|
||||
|
||||
const log = debug('fcc:boot:donate');
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* eslint-disable camelcase */
|
||||
import axios from 'axios';
|
||||
import keys from '../../../../config/secrets';
|
||||
import keys from '../../../config/secrets';
|
||||
import {
|
||||
mockApp,
|
||||
createDonationMockFn,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { isBefore } from 'date-fns';
|
||||
import jwt from 'jsonwebtoken';
|
||||
|
||||
import { jwtSecret as _jwtSecret } from '../../../../config/secrets';
|
||||
import { jwtSecret as _jwtSecret } from '../../../config/secrets';
|
||||
|
||||
export const jwtCookieNS = 'jwt_access_token';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
const jwt = require('jsonwebtoken');
|
||||
const { allowedOrigins } = require('../../../../config/cors-settings');
|
||||
const { allowedOrigins } = require('../../../config/cors-settings');
|
||||
// process.env.HOME_LOCATION is being used as a fallback here. If the one
|
||||
// provided by the client is invalid we default to this.
|
||||
const { availableLangs } = require('../../../../config/i18n');
|
||||
|
||||
Reference in New Issue
Block a user