mirror of
https://github.com/actions/configure-pages.git
synced 2026-03-30 01:54:51 +00:00
Fix spacing
This commit is contained in:
@@ -1,18 +1,17 @@
|
|||||||
const getAllDynamicRoute = async function() {
|
const getAllDynamicRoute = async function() {
|
||||||
const routes = await (async () => {
|
const routes = await (async () => {
|
||||||
return ['/posts/hello-world', '/posts/hello-again'];
|
return ['/posts/hello-world', '/posts/hello-again'];
|
||||||
})();
|
})();
|
||||||
return routes;
|
return routes;
|
||||||
};
|
};
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
target: 'static',
|
target: 'static',
|
||||||
router: {base: '/docs/'},
|
router: {base: '/docs/'},
|
||||||
mode: 'universal',
|
mode: 'universal',
|
||||||
generate: {
|
generate: {
|
||||||
async routes () {
|
async routes () {
|
||||||
return getAllDynamicRoute();
|
return getAllDynamicRoute();
|
||||||
}
|
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user