mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore(webpack): allow process.env.PORT (#1071)
This commit is contained in:
+1
-1
@@ -58,7 +58,7 @@ const config: Configuration = {
|
||||
// properly serving index.html on 404s.
|
||||
historyApiFallback: true,
|
||||
hot: true,
|
||||
port: 8080,
|
||||
port: process.env.PORT || 8080,
|
||||
proxy: {
|
||||
"/api": "http://localhost:3000",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user