MCPcopy Index your code
hub / github.com/parse-community/parse-server / fillPlaceholders

Function fillPlaceholders

spec/PagesRouter.spec.js:168–168  ·  view source on GitHub ↗
(text, fill)

Source from the content-addressed store, hash-verified

166 let exampleLocale;
167
168 const fillPlaceholders = (text, fill) => text.replace(/({{2,3}.*?}{2,3})/g, fill);
169 async function reconfigureServerWithPagesConfig(pagesConfig) {
170 config.pages = pagesConfig;
171 await reconfigureServer(config);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected