Fallback moved. Index points to telegran en bot
This commit is contained in:
parent
0a8d59bc53
commit
2d19778553
4 changed files with 23 additions and 7 deletions
|
|
@ -1,8 +0,0 @@
|
|||
const getFallbackLang = (lang) => {
|
||||
if (lang && (lang === 'ast' || lang === 'gl' || lang === 'eu' || lang === 'ca' || lang.match(/^es-/))) {
|
||||
return 'es';
|
||||
}
|
||||
return 'en';
|
||||
};
|
||||
|
||||
export default getFallbackLang;
|
||||
|
|
@ -1,7 +1,9 @@
|
|||
/* eslint-disable import/no-absolute-path */
|
||||
|
||||
import { Accounts } from 'meteor/accounts-base';
|
||||
import sendWelcomeEmail from '../../../api/Users/server/send-welcome-email';
|
||||
import getOAuthProfile from '../../../modules/get-oauth-profile';
|
||||
import getFallbackLang from './lang-fallback';
|
||||
import getFallbackLang from '/imports/modules/lang-fallback';
|
||||
import sendWelcomeEmail from '/imports/api/Users/server/send-welcome-email';
|
||||
import getOAuthProfile from '/imports/modules/get-oauth-profile';
|
||||
|
||||
Accounts.onCreateUser((options, user) => {
|
||||
const userToCreate = user;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue