We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4053f7 commit 7ad7583Copy full SHA for 7ad7583
apps/svelte.dev/src/routes/+layout.svelte
@@ -10,8 +10,10 @@
10
import { beforeNavigate } from '$app/navigation';
11
import { get_banner, get_nav_links } from './data.remote.js';
12
13
- // injectSpeedInsights();
14
- // inject({ mode: dev ? 'development' : 'production' });
+ if (!dev) {
+ injectSpeedInsights();
15
+ inject({ mode: 'production' });
16
+ }
17
18
// Make all navigations between SvelteKit-tutorial and non-SvelteKit-tutorial pages (and vice versa)
19
// a full page navigation to ensure webcontainers get the correct origin restriction headers while
0 commit comments