Skip to content

Commit 2e027dd

Browse files
attempt to fix build issues (#985)
1 parent 03bb437 commit 2e027dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/sim/next.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,13 +208,13 @@ const nextConfig: NextConfig = {
208208
source: '/((?!api|_next|_vercel|favicon|static|.*\\..*).*)',
209209
destination: 'https://www.sim.ai/$1',
210210
permanent: true,
211-
has: [{ type: 'host', key: 'host', value: 'simstudio.ai' }],
211+
has: [{ type: 'host' as const, value: 'simstudio.ai' }],
212212
},
213213
{
214214
source: '/((?!api|_next|_vercel|favicon|static|.*\\..*).*)',
215215
destination: 'https://www.sim.ai/$1',
216216
permanent: true,
217-
has: [{ type: 'host', key: 'host', value: 'www.simstudio.ai' }],
217+
has: [{ type: 'host' as const, value: 'www.simstudio.ai' }],
218218
}
219219
)
220220
}

0 commit comments

Comments
 (0)