Closed megazear7 closed 5 years ago
Make the public property of data.json files publicly available
So for example a /src/pages/data.json file such as this:
/src/pages/data.json
{ "public": { "message": "Hello, World", "example": 4 }, "somethingElse": { }, "orison": { } }
Thee below json would be available at localhost:3000/data.json
localhost:3000/data.json
{ "message": "Hello, World", "example": 4 }
This was implemented in commit 0cf2d9ebc240.
Make the public property of data.json files publicly available
So for example a
/src/pages/data.json
file such as this:Thee below json would be available at
localhost:3000/data.json