1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

try to mix static/dynamic paths again

This commit is contained in:
Matthias Kretschmann 2020-07-07 10:26:38 +02:00
parent 63955639d1
commit 996bf9205b
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -64,16 +64,16 @@ exports.createPages = async ({ graphql, actions }) => {
}) })
} }
// exports.onCreatePage = async ({ page, actions }) => { exports.onCreatePage = async ({ page, actions }) => {
// const { createPage } = actions const { createPage } = actions
// // page.matchPath is a special key that's used for matching pages // page.matchPath is a special key that's used for matching pages
// // only on the client. // only on the client.
// const handleClientSideOnly = page.path.match(/^\/asset/) const handleClientSideOnly = page.path.match(/^\/asset/)
// if (handleClientSideOnly) { if (handleClientSideOnly) {
// page.matchPath = '/asset/*' page.matchPath = '/asset/*'
// // Update the page. // Update the page.
// createPage(page) createPage(page)
// } }
// } }