From 853b5aa38b3d52ed8bab69e2bcd7d79a0cefcfd0 Mon Sep 17 00:00:00 2001 From: fragosti Date: Tue, 7 Aug 2018 18:18:37 -0700 Subject: Change some static side configs --- packages/sra-api/.discharge.json | 22 +++++++++++----------- packages/sra-api/README.md | 6 ++++-- 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 -- cgit v1.2.3