Comments (3)
You just pass it to docker run
as an env variable:
docker run -p 80:80 -e APP_BASE_URL="https:\/\/my.domain.tld" alethio/ethereum-lite-explorer
I'm also getting some errors if I don't escape the slashes, so that's probably a bug which I'm going to investigate.
See also the examples here: https://github.com/Alethio/ethereum-lite-explorer#running-in-docker
from ethereum-lite-explorer.
Okey I understand now... as it says "It is used ONLY in index.html for og:tags" I misunderstood it and tried to change other og:tags like og:title.
Thanks @use-strict
from ethereum-lite-explorer.
Escaping issue will be fixed with #41
But is it the way if I want to change the og:title for example?
No, it's not. Env vars are there only for simple and very common customizations, like the node URL or the base URL. For more advanced customization, you can either mount a custom config.json
or, if code changes are needed, you can build from source instead.
In the case of og:title
, the string is the same as the application title, which is shown in the browser title bar. Because that is a localized string, it is taken from the src/translation/*.json
files, which are packaged together with the source code and not configurable. In this case you could fork the repo and build from source, but it is an open discussion whether such customization should be supported OOTB.
from ethereum-lite-explorer.
Related Issues (20)
- Seems DEAD
- Not connecting to node when using HTTP Basic Authentication HOT 3
- Getting Exited with code 3 HOT 3
- Can I add plugin in the Docker container? HOT 3
- Latest DockerHub image not updated? HOT 3
- How to update translations? HOT 5
- can not find plugin version HOT 1
- Cannot access from outside localhost HOT 10
- Integrate data from IBFT config with data from memento HOT 9
- Cors origin & Error: Latest block should be set by now
- [feature] Option to view Input Data to UTF-8 like in etherscan
- npm run build
- The 'Example Setups' section is listed in pantheon, not besu. HOT 7
- Is it possible to add API functions
- index.js is missing while npm start
- Help running with Besu HOT 1
- POA extradata breaks eth-ibft2
- Help running with Geth HOT 1
- DOES NOT WORK!!! The alethic website is down. Cannot connect to their service.
- 404 error while running the ethereum lite explorer HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ethereum-lite-explorer.