aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sra-api
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-08-08 09:18:37 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-08-08 09:18:37 +0800
commit853b5aa38b3d52ed8bab69e2bcd7d79a0cefcfd0 (patch)
treec30dc537e6e881f89a09084a2c477e136db6f073 /packages/sra-api
parent4e30bc3e16d7e0e8876fab09a61e9446c2c9d93f (diff)
downloaddexon-sol-tools-853b5aa38b3d52ed8bab69e2bcd7d79a0cefcfd0.tar
dexon-sol-tools-853b5aa38b3d52ed8bab69e2bcd7d79a0cefcfd0.tar.gz
dexon-sol-tools-853b5aa38b3d52ed8bab69e2bcd7d79a0cefcfd0.tar.bz2
dexon-sol-tools-853b5aa38b3d52ed8bab69e2bcd7d79a0cefcfd0.tar.lz
dexon-sol-tools-853b5aa38b3d52ed8bab69e2bcd7d79a0cefcfd0.tar.xz
dexon-sol-tools-853b5aa38b3d52ed8bab69e2bcd7d79a0cefcfd0.tar.zst
dexon-sol-tools-853b5aa38b3d52ed8bab69e2bcd7d79a0cefcfd0.zip
Change some static side configs
Diffstat (limited to 'packages/sra-api')
-rw-r--r--packages/sra-api/.discharge.json22
-rw-r--r--packages/sra-api/README.md6
2 files changed, 15 insertions, 13 deletions
diff --git a/packages/sra-api/.discharge.json b/packages/sra-api/.discharge.json
index ddb76d50d..541ce4d70 100644
--- a/packages/sra-api/.discharge.json
+++ b/packages/sra-api/.discharge.json
@@ -1,13 +1,13 @@
{
- "domain": "sra-api.com",
- "build_command": "yarn build-site",
- "upload_directory": "public",
- "index_key": "index.html",
- "error_key": "index.html",
- "trailing_slashes": true,
- "cache": 3600,
- "aws_profile": "default",
- "aws_region": "us-east-1",
- "cdn": false,
- "dns_configured": true
+ "domain": "sra-api",
+ "build_command": "yarn build-site",
+ "upload_directory": "public",
+ "index_key": "index.html",
+ "error_key": "index.html",
+ "trailing_slashes": true,
+ "cache": 3600,
+ "aws_profile": "default",
+ "aws_region": "us-east-1",
+ "cdn": false,
+ "dns_configured": true
}
diff --git a/packages/sra-api/README.md b/packages/sra-api/README.md
index 23eefe7d8..5b5475dc0 100644
--- a/packages/sra-api/README.md
+++ b/packages/sra-api/README.md
@@ -4,7 +4,7 @@ Contains the Standard Relayer API [OpenAPI Spec](https://github.com/OAI/OpenAPI-
The package distributes both a javascript object version and a json version.
-A deployed [ReDoc](https://github.com/Rebilly/ReDoc) static site with the API can be found here http://sra-api.com.s3-website-us-east-1.amazonaws.com/.
+A deployed [ReDoc](https://github.com/Rebilly/ReDoc) static site with the API can be found here http://sra-api.s3-website-us-east-1.amazonaws.com/.
## Usage
@@ -64,7 +64,7 @@ PKG=@0xproject/sra-api yarn watch
### Static Site
-We also [host a static HTML version of the docs on S3](http://sra-api.com.s3-website-us-east-1.amazonaws.com/) for easy sharing.
+We also [host a static HTML version of the docs on S3](http://sra-api.s3-website-us-east-1.amazonaws.com/) for easy sharing.
To build the website run
@@ -78,6 +78,8 @@ To build and deploy the site run
yarn deploy-site
```
+**NOTE: On deploying the site, it will say the site is available at a non-existent URL. Please ignore and use the (now updated) URL above.**
+
### Clean
```bash