|
@@ -1,7 +1,7 @@
|
|
|
export const baseURL = process.env.NEXT_PUBLIC_BASE_URL;
|
|
|
|
|
|
// Example taken from https://mdn.github.io/learning-area/javascript/oojs/json/superheroes.json
|
|
|
-export const defaultJson = JSON.stringify({
|
|
|
+const sampleJson = Object.freeze({
|
|
|
squadName: "Super hero squad",
|
|
|
homeTown: "Metro City",
|
|
|
formed: 2016,
|
|
@@ -38,3 +38,5 @@ export const defaultJson = JSON.stringify({
|
|
|
},
|
|
|
],
|
|
|
});
|
|
|
+
|
|
|
+export const defaultJson = JSON.stringify(sampleJson, null, 2);
|