Skip to content

Commit

Permalink
Merge pull request #5 from onetimesecret/delano/20240524-sites
Browse files Browse the repository at this point in the history
[#2] Tidy site checks
  • Loading branch information
Onetime Secret authored May 25, 2024
2 parents 69db3f9 + 3bee173 commit a7a70fa
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .upptimerc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,6 @@ sites:
- 201
headers:
- "OTS-VIA: upptime"
- name: Homepage (staging)
url: $STAGING_HOST
maxResponseTime: 5000
expectedStatusCodes:
- 200
- 201
headers:
- "OTS-VIA: upptime"
- name: App Support
url: https://app.onetimesecret.com/

- name: API Status (v1)
url: https://onetimesecret.com/api/v1/status
__dangerous__body_down_if_text_missing: '"status":"nominal"'
Expand All @@ -36,7 +25,11 @@ sites:
headers:
- "Authorization: Basic $ONETIME_API_TOKEN"
- "Content-Type: application/x-www-form-urlencoded"
- "OTS-VIA: upptime"
body: 'secret=$UNIQUE_TESTABLE_VALUE&ttl=86400'
- name: App Support
url: https://app.onetimesecret.com/


# Delay (in milliseconds) that will occur between checking each
# configured endpoint. Default: 0.
Expand Down

0 comments on commit a7a70fa

Please sign in to comment.