852d12b440
* Make develop branch agnostic of the network * Update network defaults * Short node identity signature check Fix tests * Do not set proxy only for this time * Update contract addresses * Network Explorer: configure URLs with `.env` file * Network Explorer API improvements: - upgrade `okapi` for swagger generation across multiple resources - switched `GET mix-node` to `GET mix-nodes` - added error message when no geolocation env var is set and process continues * Network Explorer improvements: - fix up API urls after Network Explorer API changes - set currency denominations in `.env` file - set API endpoints in `.env` file * Network Explorer: change prod env to round robin DNS * Update test Co-authored-by: Mark Sinclair <mmsinclair@gmail.com>
12 lines
422 B
Rust
12 lines
422 B
Rust
// Copyright 2021 - Nym Technologies SA <contact@nymtech.net>
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
fn main() {
|
|
match option_env!("NETWORK") {
|
|
None | Some("milhon") => println!("cargo:rustc-cfg=network=\"milhon\"",),
|
|
Some("sandbox") => println!("cargo:rustc-cfg=network=\"sandbox\"",),
|
|
Some("qa") => println!("cargo:rustc-cfg=network=\"qa\""),
|
|
_ => panic!("No such network"),
|
|
}
|
|
}
|