Let Prettier reformat all of the things

This commit is contained in:
James M. Greene
2022-09-16 20:37:18 -05:00
parent b030b061cb
commit 069c984c5e
12 changed files with 64 additions and 72 deletions

View File

@@ -1,15 +1,15 @@
const getAllDynamicRoute = async function() {
const getAllDynamicRoute = async function () {
const routes = await (async () => {
return ['/posts/hello-world', '/posts/hello-again'];
})();
return routes;
};
return ['/posts/hello-world', '/posts/hello-again']
})()
return routes
}
module.exports = {
mode: 'universal',
generate: {
async routes () {
return getAllDynamicRoute();
async routes() {
return getAllDynamicRoute()
}
}
};
}