Skip to content

Commit e5237d3

Browse files
committed
functions
1 parent fa172b2 commit e5237d3

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
- name: Setup yarn
1414
uses: actions/setup-node@v3
1515
with:
16-
cache: 'yarn'
17-
node-version: '24'
16+
cache: "yarn"
17+
node-version: "24"
1818
- name: Build
1919
run: |
2020
yarn install
@@ -26,4 +26,4 @@ jobs:
2626
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
2727
command: pages deploy public --project-name=rescript-lang-org
2828
# Optional: Enable this if you want to have GitHub Deployments triggered
29-
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
29+
gitHubToken: ${{ secrets.GITHUB_TOKEN }}

functions/echo.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
export function onRequest(context) {
2-
const url = new URL(context.request.url);
3-
return new Response(url.searchParams.toString());
4-
}
2+
const url = new URL(context.request.url);
3+
return new Response(url.searchParams.toString());
4+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,4 @@
9696
"vite-plugin-page-reload": "^0.2.2",
9797
"wrangler": "^4.52.0"
9898
}
99-
}
99+
}

0 commit comments

Comments
 (0)