Skip to content

Commit cc7c67b

Browse files
authored
fix: cloudflare deployment (#1150)
1 parent d900472 commit cc7c67b

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

apps/website/public/_headers

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
/build/*
55
Cache-Control: public, max-age=31536000, s-maxage=31536000, immutable
66

7-
# Pagefind search assets - long-term caching
8-
/pagefind/*
9-
Cache-Control: public, max-age=31536000, s-maxage=31536000, immutable
10-
117
# Documentation pages - cache at edge, allow quick browser updates
128
/docs/*
139
Cache-Control: public, max-age=600, s-maxage=86400, stale-while-revalidate=604800

apps/website/vite.config.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import autoAPI from './auto-api';
77
import { ShikiTransformer } from 'shiki';
88
import tailwindcss from '@tailwindcss/vite';
99
import { qwikInsights } from '@builder.io/qwik-labs/vite';
10-
import basicSsl from '@vitejs/plugin-basic-ssl';
1110

1211
export default defineConfig(async () => {
1312
const { default: shikiRehype } = await import('@shikijs/rehype');
@@ -38,7 +37,7 @@ export default defineConfig(async () => {
3837
}),
3938
qwikVite({
4039
lint: false,
41-
debug: true,
40+
debug: false,
4241
tsconfigFileNames: ['tsconfig.app.json'],
4342
client: {
4443
outDir: '../../dist/apps/website/client',
@@ -49,10 +48,9 @@ export default defineConfig(async () => {
4948
}),
5049
tsconfigPaths({ root: '../../' }),
5150
// Uncomment for debugging preview with http2 via https
52-
// basicSsl(),
5351
tailwindcss(),
5452
// qwikInsights({ publicApiKey: '1uelfebvo7l' }),
55-
basicSsl(),
53+
// basicSsl(),
5654
],
5755

5856
server: {

0 commit comments

Comments
 (0)