1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-10-31 23:35:17 +01:00

another config fix

This commit is contained in:
Matthias Kretschmann 2021-10-27 18:33:57 +01:00
parent 1cf69c2423
commit 8ecf78c60b
Signed by: m
GPG Key ID: 606EEEF3C479A91F
3 changed files with 4 additions and 10 deletions

View File

@ -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.

View File

@ -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

View File

@ -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"
]
} }