mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-10 10:01:51 -04:00
refactor: s/all-langs/i18n/g (#48258)
This commit is contained in:
committed by
GitHub
parent
cf24131967
commit
b393d88b9e
@@ -3,7 +3,7 @@ const { allowedOrigins } = require('../../../../config/cors-settings');
|
||||
// homeLocation is being used as a fallback here. If the one provided by the
|
||||
// client is invalid we default to this.
|
||||
const { homeLocation } = require('../../../../config/env.json');
|
||||
const { availableLangs } = require('../../../../config/i18n/all-langs');
|
||||
const { availableLangs } = require('../../../../config/i18n');
|
||||
|
||||
function getReturnTo(encryptedParams, secret, _homeLocation = homeLocation) {
|
||||
let params;
|
||||
|
||||
Reference in New Issue
Block a user