mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
another config fix
This commit is contained in:
parent
1cf69c2423
commit
8ecf78c60b
@ -1,4 +1,4 @@
|
|||||||
export default {
|
module.exports = {
|
||||||
// URI of single metadata cache instance for all networks.
|
// URI of single metadata cache instance for all networks.
|
||||||
// While ocean.js includes this value for each network as part of its ConfigHelper,
|
// While ocean.js includes this value for each network as part of its ConfigHelper,
|
||||||
// it is assumed to be the same for all networks.
|
// it is assumed to be the same for all networks.
|
@ -1,11 +1,11 @@
|
|||||||
import { UseSiteMetadata } from './types'
|
import { UseSiteMetadata } from './types'
|
||||||
import siteContent from '../../../content/site.json'
|
import siteContent from '../../../content/site.json'
|
||||||
import siteConfig from '../../../app.config'
|
import appConfig from '../../../app.config'
|
||||||
|
|
||||||
export function useSiteMetadata(): UseSiteMetadata {
|
export function useSiteMetadata(): UseSiteMetadata {
|
||||||
const siteMeta: UseSiteMetadata = {
|
const siteMeta: UseSiteMetadata = {
|
||||||
...siteContent,
|
...siteContent,
|
||||||
appConfig: siteConfig
|
appConfig
|
||||||
}
|
}
|
||||||
|
|
||||||
return siteMeta
|
return siteMeta
|
||||||
|
@ -29,11 +29,5 @@
|
|||||||
"incremental": true
|
"incremental": true
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules", ".next", "*.js"],
|
"exclude": ["node_modules", ".next", "*.js"],
|
||||||
"include": [
|
"include": ["./src/**/*", "./tests/**/*", "./next-env.d.ts", "./content/**/*"]
|
||||||
"./src/**/*",
|
|
||||||
"./tests/**/*",
|
|
||||||
"./next-env.d.ts",
|
|
||||||
"./content/**/*",
|
|
||||||
"app.config.ts"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user