Skip to content

Commit

Permalink
Update error pages
Browse files Browse the repository at this point in the history
  • Loading branch information
shanejearley committed Oct 31, 2023
1 parent b959298 commit 2b57bb2
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 10 deletions.
2 changes: 1 addition & 1 deletion common/data/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Casimir Data

Casimir database JSON schemas
> Database JSON schemas
## Schemas

Expand Down
2 changes: 1 addition & 1 deletion contracts/ethereum/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# @casimir/ethereum

Solidity contracts for decentralized staking on Ethereum
> Solidity contracts for decentralized staking on Ethereum
## Development

Expand Down
2 changes: 1 addition & 1 deletion infrastructure/cdk/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Casimir CDK

TypeScript infrastructure-as-code with CDK.
> AWS CDK infrastructure-as-code
## Configuration

Expand Down
10 changes: 8 additions & 2 deletions infrastructure/cdk/src/providers/docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,22 @@ export class DocsStack extends cdk.Stack {
defaultBehavior: {
functionAssociations: [{
function: redirectFunction,
eventType: cloudfront.FunctionEventType.VIEWER_REQUEST,
eventType: cloudfront.FunctionEventType.VIEWER_REQUEST
}],
viewerProtocolPolicy: cloudfront.ViewerProtocolPolicy.REDIRECT_TO_HTTPS,
origin: new cloudfrontOrigins.S3Origin(bucket, { originAccessIdentity })
},
errorResponses: [
{
httpStatus: 403,
responseHttpStatus: 200,
responsePagePath: '/index.html',
ttl: cdk.Duration.minutes(30)
},
{
httpStatus: 404,
responseHttpStatus: 200,
responsePagePath: '/404.html',
responsePagePath: '/index.html',
ttl: cdk.Duration.minutes(30)
}
],
Expand Down
2 changes: 1 addition & 1 deletion services/blog/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# @casimir/blog

Casimir blog service
> Hackmd blog service
2 changes: 2 additions & 0 deletions services/functions/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# @casimir/functions

> Chainlink Functions source code
2 changes: 1 addition & 1 deletion services/nodes/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Casimir Nodes

Nodes and RPC/WS APIs
> Ethereum RPC nodes and proxy server
## Execution Clients

Expand Down
2 changes: 1 addition & 1 deletion services/oracle/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# @casimir/oracle

Casimir DAO oracle service
> DAO oracle node service
## About

Expand Down
2 changes: 1 addition & 1 deletion services/redirect/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# @casimir/redirect

> Casimir cloudfront functions redirect service
> CloudFront Functions redirect service
2 changes: 1 addition & 1 deletion services/users/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# @casimir/users

> Casimir users service and database
> Users service
## Development

Expand Down

0 comments on commit 2b57bb2

Please sign in to comment.