chore: fix typos in spelling (#38100)
* spelling: accidentally * spelling: announce * spelling: assembly * spelling: avoid * spelling: backend * spelling: because * spelling: claimed * spelling: candidate * spelling: certification * spelling: certified * spelling: challenge * spelling: circular * spelling: it isn't * spelling: coins * spelling: combination * spelling: compliant * spelling: containers * spelling: concise * spelling: deprecated * spelling: development * spelling: donor * spelling: error * spelling: everything * spelling: exceed * spelling: exist * spelling: falsy * spelling: faulty * spelling: forward * spelling: handle * spelling: indicates * spelling: initial * spelling: integers * spelling: issealed * spelling: javascript * spelling: length * spelling: maximum * spelling: minimum * spelling: mutable * spelling: notifier * spelling: coordinate * spelling: passport * spelling: perform * spelling: permuter * spelling: placeholder * spelling: progressively * spelling: semantic * spelling: submission * spelling: submit * spelling: translations * spelling: turquoise * spelling: visualization * spelling: without * spelling: registration * spelling: representation
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
const apiPlaceholderRE = /#\{\{API\}\}/g;
|
||||
const newsPlaceholderRE = /#\{\{NEWS\}\}/g;
|
||||
const forumPlacehilderRE = /#\{\{FORUM\}\}/g;
|
||||
const forumPlaceholderRE = /#\{\{FORUM\}\}/g;
|
||||
|
||||
exports.createRedirects = function createRedirects(locations) {
|
||||
const { api, newsProxy, forumProxy } = locations;
|
||||
@ -18,7 +18,7 @@ exports.createRedirects = function createRedirects(locations) {
|
||||
return template
|
||||
.replace(apiPlaceholderRE, api)
|
||||
.replace(newsPlaceholderRE, newsProxy)
|
||||
.replace(forumPlacehilderRE, forumProxy);
|
||||
.replace(forumPlaceholderRE, forumProxy);
|
||||
};
|
||||
|
||||
/* eslint-disable max-len */
|
||||
|
Reference in New Issue
Block a user