Skip to content

patchNetworkXml

patchNetworkXml(xml, pathPrefix): string

Defined in: siteMetadataXml.ts:95

Patch a Network metadata document’s urlPathPrefix.

string

The current contents of the networks/<Network>.network-meta.xml file.

string

The URL path prefix to write.

string

The rewritten document.

If xml isn’t parseable.