Skip to content

Commit

Permalink
Adds explorer fix and doc correction (#37)
Browse files Browse the repository at this point in the history
Adds explorer fix and doc correction
  • Loading branch information
disassembler committed Nov 12, 2019
2 parents 6535ad2 + dc8b287 commit a7508a7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -13,7 +13,7 @@

```
nixops create -d $NIXOPS_DEPLOYMENT -I nixpkgs=./nix deployments/${NIXOPS_DEPLOYMENT}.nix
nixops --arg globals 'import ../globals.nix'
nixops set-args --arg globals 'import ./globals.nix'
```

* Deploy as needed, utilizing scripts from the `scripts` folder if desired
6 changes: 3 additions & 3 deletions nix/sources.json
Expand Up @@ -5,10 +5,10 @@
"homepage": null,
"owner": "input-output-hk",
"repo": "iohk-nix",
"rev": "d12e2c169b10b1da40815344761c1a029d51c499",
"sha256": "016fa09y4w54wgakiyj6vwls72pawhzs9dfn6v65wbrp8jbyx0b6",
"rev": "ae4232c5e206f2cde44248099c37d6d7dfd4f342",
"sha256": "1yjgjvm0jcnrwqsq5dl77mz01c3iwzr2bgadqv4lsmjy7bgbp1bf",
"type": "tarball",
"url": "https://github.com/input-output-hk/iohk-nix/archive/d12e2c169b10b1da40815344761c1a029d51c499.tar.gz",
"url": "https://github.com/input-output-hk/iohk-nix/archive/ae4232c5e206f2cde44248099c37d6d7dfd4f342.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"iohk-ops": {
Expand Down
2 changes: 2 additions & 0 deletions roles/jormungandr-explorer.nix
@@ -1,5 +1,6 @@
{ lib, config, resources, name, ... }:
let inherit (config.node) fqdn;
inherit (import ../nix {}) jormungandr-master;
enableSSL = config.deployment.targetEnv != "libvirtd";
protocol = if enableSSL then "https" else "http";
inherit (import ../globals.nix) domain;
Expand Down Expand Up @@ -40,4 +41,5 @@ in {
};

#services.jormungandr.rest.cors.allowedOrigins = [ "https://shelley-testnet-explorer-qa.netlify.com" ];
services.jormungandr.package = lib.mkForce jormungandr-master;
}

0 comments on commit a7508a7

Please sign in to comment.