|
|
|
@ -64,13 +64,13 @@ defmodule BlockScoutWeb.Router do |
|
|
|
|
|
|
|
|
|
post("/contract_verifications", BlockScoutWeb.AddressContractVerificationController, :create) |
|
|
|
|
end |
|
|
|
|
else |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
scope "/verify_smart_contract" do |
|
|
|
|
pipe_through(:api) |
|
|
|
|
|
|
|
|
|
post("/contract_verifications", BlockScoutWeb.AddressContractVerificationController, :create) |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
if Application.get_env(:block_scout_web, WebRouter)[:enabled] do |
|
|
|
|
forward("/", BlockScoutWeb.WebRouter) |
|
|
|
|