diff --git a/client/src/config.ts b/client/src/config.ts index 64c07b5..b8387f8 100644 --- a/client/src/config.ts +++ b/client/src/config.ts @@ -1,6 +1,6 @@ export const ENV = window.location.hostname.includes('stage.') ? 'stage' - : window.location.hostname === 'todo: change to prod domain' + : window.location.hostname.includes('todo: change to prod domain') ? 'prod' : window.location.port === '4173' ? 'test' diff --git a/package.json b/package.json index 4b86ba6..3506111 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "create-react-spa-cloudflare", "type": "module", - "version": "0.0.23", + "version": "0.0.24", "description": "Starter package for a React SPA with Cloudflare Pages, Workers, and KV", "bin": "./bin/cli.js", "scripts": {