c1d35cc8b3
* links and page * print all the details of the liquidity * show working approve/migrate buttons * testnet v1 factory addresses * split code up into two pages * getting closer to styled * compute min amount out of eth and token * compute min amount out of eth and token * add a back button to the list page * Improve empty states * Improve the state management * change the display of the migrate page to be more similar to original * style fix, pending transaction hook fix * add forwarding to netlify.toml * handle case where v2 spot price does not exist because pair does not exist * make ternaries more accurate * handle first liquidity provider situation * Style tweaks for migrate * merge * Address feedback - show pool token amount - show success when migration complete - show price warning only if price difference is large Co-authored-by: Callil Capuozzo <callil.capuozzo@gmail.com>
28 lines
607 B
TOML
28 lines
607 B
TOML
# block some countries
|
|
[[redirects]]
|
|
from = "/*"
|
|
to = "/451.html"
|
|
status = 451
|
|
force = true
|
|
conditions = {Country=["BY","CU","IR","IQ","CI","LR","KP","SD","SY","ZW"]}
|
|
headers = {Link="<https://uniswap.exchange>"}
|
|
|
|
# forward migrate
|
|
[[redirects]]
|
|
from = "https://migrate.uniswap.exchange/*"
|
|
to = "https://uniswap.exchange/migrate/v1"
|
|
status = 301
|
|
force = true
|
|
|
|
# forward v2 subdomain to apex
|
|
[[redirects]]
|
|
from = "https://v2.uniswap.exchange/*"
|
|
to = "https://uniswap.exchange/:splat"
|
|
status = 301
|
|
|
|
# support SPA setup
|
|
[[redirects]]
|
|
from = "/*"
|
|
to = "/index.html"
|
|
status = 200
|