Add png suffix to route to allow viewing in browser

pull/232/head
Tim Mecklem 7 years ago
parent 70c75d0a00
commit b0fd53bc06
  1. 2
      apps/explorer_web/lib/explorer_web/router.ex

@ -81,7 +81,7 @@ defmodule ExplorerWeb.Router do
as: :contract
)
resources("/qrcode", AddressQRCodeController, only: [:index], as: :qr_code)
resources("/qrcode.png", AddressQRCodeController, only: [:index], as: :qr_code)
end
get("/search", ChainController, :search)

Loading…
Cancel
Save