Skip to content

Commit ee66d0e

Browse files
committed
fix: Use proper webpack config for dev mode
This was broken when improving the build times. The typechecker unfortunately missed it!
1 parent 013f028 commit ee66d0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/webpack.dev.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const commonPlugins = commonWebpackConfig.plugins || []
1414
const commonRules = commonWebpackConfig.module?.rules || []
1515

1616
const config: Configuration = {
17-
...createCommonWebpackConfig,
17+
...commonWebpackConfig,
1818

1919
// devtool controls how source maps are generated. In development, we want
2020
// more details (less optimized) for more readability and an easier time
@@ -63,7 +63,7 @@ const config: Configuration = {
6363
port: process.env.PORT || 8080,
6464
proxy: {
6565
"/api": {
66-
target: "http://localhost:3000",
66+
target: "https://dev.coder.com",
6767
ws: true,
6868
secure: false,
6969
},

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy