Skip to content

Commit 2686f85

Browse files
committed
fix env check
1 parent 022c095 commit 2686f85

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export const ENV = window.location.hostname.includes('stage.')
22
? 'stage'
3-
: window.location.hostname === 'todo: change to prod domain'
3+
: window.location.hostname.includes('todo: change to prod domain')
44
? 'prod'
55
: window.location.port === '4173'
66
? 'test'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "create-react-spa-cloudflare",
33
"type": "module",
4-
"version": "0.0.23",
4+
"version": "0.0.24",
55
"description": "Starter package for a React SPA with Cloudflare Pages, Workers, and KV",
66
"bin": "./bin/cli.js",
77
"scripts": {

0 commit comments

Comments
 (0)