tryethernal / ethernal

Ethernal is a block explorer for EVM-based chains. In a few seconds, spin up a fully-featured explorer for your L1/L2 rollup/testnet. Compatible with Optimism, ZK, Anvil, Hardhat, Geth...
https://www.tryethernal.com
Other
204 stars 47 forks source link

fixing problem with sub-sub domains not being accepted #243

Closed DegenComedian closed 1 year ago

DegenComedian commented 1 year ago

fixed the problem of having more than one subdomain URLs like

app.subdomain.maindomain.com

Tested with

http://app.avalanche-mainnet-browser.<reducted>.com:8080   => does work
http://xapp.avalanche-mainnet-browser.<reducted>.com:8080  => does not work (no app as first subdomain)
http://app.com:8080  => does not work (VUE_APP_MAIN_DOMAIN must be without app. so it will not work)
antoinedc commented 1 year ago

This is great, thanks! Will test & merge this week

antoinedc commented 1 year ago

Finally got to this! Works great, thanks a lot!