Skip to content

Commit

Permalink
update wrangler & associated CI actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jakejarvis committed Feb 8, 2024
1 parent d33732b commit cf8f983
Show file tree
Hide file tree
Showing 8 changed files with 1,282 additions and 960 deletions.
17 changes: 0 additions & 17 deletions .eslintrc.json

This file was deleted.

7 changes: 4 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cloudflare/wrangler-action@1.3.0
- uses: actions/checkout@v4
- uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
7 changes: 1 addition & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
node_modules/
vendor/
.wrangler/
.env*
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
*.log
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
const handle = async (request) => {
const opts = {
headers: {
"Content-Type": "text/plain; charset=utf-8",
"Content-Type": "text/plain",
"Cache-Control": "no-cache, no-store, must-revalidate",
"Content-Security-Policy": "default-src 'none';",
"Content-Security-Policy": "default-src 'none'",
"X-Did-You-Know": "You can use \"curl -4\" or \"curl -6\" to get either IP address!",
"X-View-Source": "https://jrvs.io/simpip",
"X-View-Source": "https://github.com/jakejarvis/simpip",
},
};

Expand Down
Loading

0 comments on commit cf8f983

Please sign in to comment.