MCPcopy
hub / github.com/parse-community/parse-server / reconfigureServerWithPagesConfig

Function reconfigureServerWithPagesConfig

spec/PagesRouter.spec.js:169–172  ·  view source on GitHub ↗
(pagesConfig)

Source from the content-addressed store, hash-verified

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);
172 }
173
174 beforeEach(async () => {
175 router = new PagesRouter();

Callers 1

Calls 1

reconfigureServerFunction · 0.85

Tested by

no test coverage detected