Ability to reload state source / refresh?

Hi,

is there any way we can refresh state that we set from frontity.settings.js?

where the settings are :

{

      "name": "@frontity/wp-source",

      "state": {

        "source": {
"postTypes": [

            {

              "type": "custom",

              "endpoint": "custom",

              "archive": "/custom",

            },
}

are we able to?

Hey @boby take a look at this thread: Multisite with new domains on the fly, they discuss a really similar issue.

1 Like

based on the reading, it seems it would need to trigger the rebuilding? correct me if I am wrong :slight_smile: