Skip to content

Commit 2a8c980

Browse files
committed
add allowed host
1 parent 44ac7ee commit 2a8c980

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const srcDir = path.resolve(__dirname, "src");
1010

1111
export default defineConfig({
1212
server: {
13-
allowedHosts: [".decocdn.com", ".trycloudflare.com"],
13+
allowedHosts: [".decocdn.com", ".trycloudflare.com", ".preview-studio.decocms.com"],
1414
// Shopify Storefront API is called server-side from loaders — no dev
1515
// proxy is needed. Checkout happens on Shopify's hosted checkout (or
1616
// the store's custom domain).

0 commit comments

Comments
 (0)