Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
frontend
Commits
dff67423
Commit
dff67423
authored
Feb 08, 2024
by
Max Alekseenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
prioritize marketplace config
parent
19d5960b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
marketplace.ts
configs/app/features/marketplace.ts
+7
-7
values.yaml.gotmpl
deploy/values/review/values.yaml.gotmpl
+0
-1
No files found.
configs/app/features/marketplace.ts
View file @
dff67423
...
...
@@ -17,24 +17,24 @@ const config: Feature<(
)
&
{
submitFormUrl
:
string
;
categoriesUrl
:
string
|
undefined
}
>
=
(()
=>
{
if
(
chain
.
rpcUrl
&&
submitFormUrl
)
{
if
(
adminServiceApiHost
)
{
if
(
configUrl
)
{
return
Object
.
freeze
({
title
,
isEnabled
:
true
,
configUrl
,
submitFormUrl
,
categoriesUrl
,
api
:
{
endpoint
:
adminServiceApiHost
,
basePath
:
''
,
},
});
}
else
if
(
configUrl
)
{
}
else
if
(
adminServiceApiHost
)
{
return
Object
.
freeze
({
title
,
isEnabled
:
true
,
configUrl
,
submitFormUrl
,
categoriesUrl
,
api
:
{
endpoint
:
adminServiceApiHost
,
basePath
:
''
,
},
});
}
}
...
...
deploy/values/review/values.yaml.gotmpl
View file @
dff67423
...
...
@@ -63,7 +63,6 @@ frontend:
NEXT_PUBLIC_HOMEPAGE_CHARTS: "['daily_txs','coin_price','market_cap']"
NEXT_PUBLIC_NETWORK_RPC_URL: https://rpc.ankr.com/eth_goerli
NEXT_PUBLIC_NETWORK_EXPLORERS: "[{'title':'Bitquery','baseUrl':'https://explorer.bitquery.io/','paths':{'tx':'/goerli/tx','address':'/goerli/address','token':'/goerli/token','block':'/goerli/block'}},{'title':'Etherscan','logo':'https://github.com/blockscout/frontend-configs/blob/main/configs/explorer-logos/etherscan.png?raw=true','baseUrl':'https://goerli.etherscan.io/','paths':{'tx':'/tx','address':'/address','token':'/token','block':'/block'}}]"
NEXT_PUBLIC_MARKETPLACE_CONFIG_URL: https://raw.githubusercontent.com/blockscout/frontend-configs/dev/configs/marketplace/eth-goerli.json
NEXT_PUBLIC_MARKETPLACE_CATEGORIES_URL: https://raw.githubusercontent.com/blockscout/frontend-configs/dev/configs/marketplace-categories/default.json
NEXT_PUBLIC_GRAPHIQL_TRANSACTION: 0xf7d4972356e6ae44ae948d0cf19ef2beaf0e574c180997e969a2837da15e349d
NEXT_PUBLIC_WEB3_WALLETS: "['token_pocket','coinbase','metamask']"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment